Trait hyper_proxy::Dst [−][src]
pub trait Dst { fn scheme(&self) -> Option<&str>; fn host(&self) -> Option<&str>; fn port(&self) -> Option<u16>; }
A trait for matching between Destination and Uri
Required Methods
fn scheme(&self) -> Option<&str>
Returns the connection scheme, e.g. "http" or "https"
fn host(&self) -> Option<&str>
Returns the host of the connection
fn port(&self) -> Option<u16>
Returns the port for the connection
Implementations on Foreign Types
impl Dst for Uri
[src]
impl Dst for Uri
impl Dst for Destination
[src]
impl Dst for Destination