pub trait TryMethod {
// Required method
fn try_method(self) -> Result<Method, Error>;
}
Expand description
Marker trait for types that try-to-convert to Method
.
All types T
that match Method: TryFrom<T>, <Method as TryFrom<T>>::Error: Into<isahc::http::Error>
implement this trait.