Struct gjio::SocketAddress [] [src]

pub struct SocketAddress {
    // some fields omitted
}

An address to which the application may connect or on which the application may listen.

Methods

impl SocketAddress
[src]

fn connect(&self) -> Promise<SocketStreamError>

fn listen(&mut self) -> Result<SocketListenerError>