Trait IntoUrl
hyper::client
pub trait IntoUrl { fn into_url(self) -> Result<Url, UrlError>; }
A helper trait to convert common objects into a Url.
fn into_url(self) -> Result<Url, UrlError>
Consumes the object, trying to return a Url.
impl<'a> IntoUrl for &'a str
impl<'a> IntoUrl for &'a String
impl IntoUrl for Url