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
Provided methods
fn addr(&self) -> Option<SocketAddr>
fn addr(&self) -> Option<SocketAddr>
SocketAddr of the address