pub trait ToUrl {
fn to_url(self) -> CargoResult<Url>;
}
Expand description
A type that can be converted to a Url
Required Methods
sourcefn to_url(self) -> CargoResult<Url>
fn to_url(self) -> CargoResult<Url>
Performs the conversion
pub trait ToUrl {
fn to_url(self) -> CargoResult<Url>;
}
A type that can be converted to a Url
Performs the conversion