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

Returns the connection scheme, e.g. "http" or "https"

Returns the host of the connection

Returns the port for the connection

Implementations on Foreign Types

impl Dst for Uri
[src]

impl Dst for Destination
[src]

Implementors