Trait reqwest::IntoUrl
[−]
[src]
pub trait IntoUrl { fn into_url(self) -> Result<Url, ParseError>; }
A helper trait to convert common objects into a Url.
Required Methods
fn into_url(self) -> Result<Url, ParseError>
Consumes the object, trying to return a Url.
Implementations on Foreign Types
impl<'a> IntoUrl for &'a str
[src]
fn into_url(self) -> Result<Url, ParseError>
[src]
impl<'a> IntoUrl for &'a String
[src]
fn into_url(self) -> Result<Url, ParseError>
[src]
Implementors
impl IntoUrl for Url