Struct asio::local::LocalStreamListener [] [src]

pub struct LocalStreamListener {
    // some fields omitted
}

Methods

impl LocalStreamListener
[src]

fn new() -> Result<Self>

Trait Implementations

impl AsRawFd for LocalStreamListener
[src]

fn as_raw_fd(&self) -> RawFd

Extracts the raw file descriptor. Read more

impl NonBlocking for LocalStreamListener
[src]

fn get_non_blocking(&self) -> bool

fn set_non_blocking(&self, on: bool)

fn native_get_non_blocking(&self) -> Result<bool>

fn native_set_non_blocking(&self, on: bool) -> Result<()>

impl Socket for LocalStreamListener
[src]

type Protocol = LocalStream

type Endpoint = LocalStreamEndpoint

fn bind(&self, ep: &Self::Endpoint) -> Result<()>

fn local_endpoint(&self) -> Result<Self::Endpoint>

fn io_control<T: IoControl<Self>>(&self, cmd: &mut T) -> Result<()>

fn get_option<T: GetSocketOption<Self>>(&self) -> Result<T>

fn set_option<T: SetSocketOption<Self>>(&self, cmd: &T) -> Result<()>

impl SocketListener for LocalStreamListener
[src]

type Socket = LocalStreamSocket

fn accept<T: IoObject>(&self, io: &T) -> Result<(Self::Socket, Self::Endpoint)>

fn async_accept<A, F, T>(a: A, callback: F, obj: &Strand<T>) where A: Fn(&T) -> &Self + Send + 'static, F: FnOnce(Strand<T>, Result<(Self::Socket, Self::Endpoint)>) + Send + 'static, T: 'static

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

impl Cancel for LocalStreamListener
[src]

fn cancel<A, T>(a: A, obj: &Strand<T>) where A: Fn(&T) -> &Self + 'static, T: 'static