Trait cargo::util::into_url::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 Path

source§

impl<'a> IntoUrl for &'a str

source§

impl<'a> IntoUrl for &'a PathBuf

Implementors§