Trait FromUrl
faktory
pub trait FromUrl { fn from_url(url: &Url) -> Self; }
A type that can be constructed from a Url connection string.
Url
fn from_url(url: &Url) -> Self
Construct a new Self from the given url.
Self
impl FromUrl for Url
impl FromUrl for String