IntoUrl

Trait IntoUrl 

Source
pub trait IntoUrl {
    // Required method
    fn into_url(self) -> Result<Url, UrlParseError>;
}
Expand description

A common trait for types that can be converted into URL.

Required Methods§

Source

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

Convert the object into URL.

Implementations on Foreign Types§

Source§

impl IntoUrl for &str

Source§

impl IntoUrl for &String

Source§

impl IntoUrl for String

Implementors§