[][src]Trait hyper_proxy::Dst

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

Loading content...

Implementations on Foreign Types

impl Dst for Uri[src]

Loading content...

Implementors

Loading content...