Trait ntex_connect::Address
source · [−]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
Provided Methods
fn addr(&self) -> Option<SocketAddr>
fn addr(&self) -> Option<SocketAddr>
SocketAddr of the address