[][src]Trait ntex::connect::Address

pub trait Address: Unpin {
    fn host(&self) -> &str;
fn port(&self) -> Option<u16>; fn addr(&self) -> Option<SocketAddr> { ... } }

Connect request

Required methods

fn host(&self) -> &str[src]

Host name of the request

fn port(&self) -> Option<u16>[src]

Port of the request

Loading content...

Provided methods

fn addr(&self) -> Option<SocketAddr>[src]

SocketAddr of the address

Loading content...

Implementations on Foreign Types

impl Address for String[src]

impl Address for &'static str[src]

impl Address for SocketAddr[src]

Loading content...

Implementors

impl Address for Uri[src]

Loading content...