Trait chill::IntoUrl [] [src]

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

Describes a type that may be converted into a URL.

The IntoUrl trait is like the Into trait except that its conversion may fail, such as when parsing a string containing an invalid URL.

Required Methods

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

Implementors