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

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.

Implementations on Foreign Types

impl<'a> IntoUrl for &'a str[src][]

impl<'a> IntoUrl for &'a String[src][]

Implementors

impl IntoUrl for Url[src][]