cargo::util::into_url

Trait IntoUrl

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

A type that can be converted to a Url

Required Methods§

Source

fn into_url(self) -> CargoResult<Url>

Performs the conversion

Implementations on Foreign Types§

Source§

impl<'a> IntoUrl for &'a str

Source§

impl<'a> IntoUrl for &'a Path

Source§

impl<'a> IntoUrl for &'a PathBuf

Implementors§