Trait cargo::util::into_url_with_base::IntoUrlWithBase
source · pub trait IntoUrlWithBase {
// Required method
fn into_url_with_base<U: IntoUrl>(self, base: Option<U>) -> CargoResult<Url>;
}
Expand description
A type that can be interpreted as a relative Url and converted to a Url.
Required Methods§
sourcefn into_url_with_base<U: IntoUrl>(self, base: Option<U>) -> CargoResult<Url>
fn into_url_with_base<U: IntoUrl>(self, base: Option<U>) -> CargoResult<Url>
Performs the conversion