Trait trillium_client::IntoUrl

source ·
pub trait IntoUrl {
    // Required method
    fn into_url(self, base: Option<&Url>) -> Result<Url>;
}
Expand description

attempt to construct a url, with base if present

Required Methods§

source

fn into_url(self, base: Option<&Url>) -> Result<Url>

attempt to construct a url, with base if present

Implementations on Foreign Types§

source§

impl IntoUrl for &str

source§

fn into_url(self, base: Option<&Url>) -> Result<Url>

source§

impl IntoUrl for IpAddr

source§

fn into_url(self, base: Option<&Url>) -> Result<Url>

note that http is assumed regardless of port

source§

impl IntoUrl for SocketAddr

source§

fn into_url(self, base: Option<&Url>) -> Result<Url>

source§

impl IntoUrl for String

source§

fn into_url(self, base: Option<&Url>) -> Result<Url>

source§

impl<S: AsRef<str>> IntoUrl for &[S]

source§

fn into_url(self, base: Option<&Url>) -> Result<Url>

source§

impl<S: AsRef<str>> IntoUrl for Vec<S>

source§

fn into_url(self, base: Option<&Url>) -> Result<Url>

source§

impl<S: AsRef<str>, const N: usize> IntoUrl for [S; N]

source§

fn into_url(self, base: Option<&Url>) -> Result<Url>

Implementors§