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