Trait hyper::client::IntoUrl [-]  [+] [src]

pub trait IntoUrl {
    fn into_url(self) -> Result<Url, UrlError>;
}

A helper trait to convert common objects into a Url.

Required Methods

fn into_url(self) -> Result<Url, UrlError>

Consumes the object, trying to return a Url.

Implementors