pub trait Dst {
    fn scheme(&self) -> Option<&str>;
    fn host(&self) -> Option<&str>;
    fn port(&self) -> Option<u16>;
}
Expand description

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

Implementors