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

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

Connect request

Required methods

Host name of the request

Port of the request

Provided methods

SocketAddr of the address

Implementations on Foreign Types

Implementors