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