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§

source

fn into_url_with_base<U: IntoUrl>(self, base: Option<U>) -> CargoResult<Url>

Performs the conversion

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<'a> IntoUrlWithBase for &'a str

Implementors§