Struct mio::unix::UnixListener [] [src]

pub struct UnixListener {
    // some fields omitted
}

Methods

impl UnixListener
[src]

fn bind<P: AsRef<Path> + ?Sized>(addr: &P) -> Result<UnixListener>

fn accept(&self) -> Result<Option<UnixStream>>

fn try_clone(&self) -> Result<UnixListener>

Trait Implementations

impl Debug for UnixListener
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Evented for UnixListener
[src]

fn register(&self, selector: &mut Selector, token: Token, interest: EventSet, opts: PollOpt) -> Result<()>

fn reregister(&self, selector: &mut Selector, token: Token, interest: EventSet, opts: PollOpt) -> Result<()>

fn deregister(&self, selector: &mut Selector) -> Result<()>

impl TryAccept for UnixListener
[src]

impl From<UnixSocket> for UnixListener
[src]

fn from(sys: UnixSocket) -> UnixListener

Performs the conversion.

impl AsRawFd for UnixListener
[src]

fn as_raw_fd(&self) -> RawFd

Extracts the raw file descriptor. Read more

impl FromRawFd for UnixListener
[src]

unsafe fn from_raw_fd(fd: RawFd) -> UnixListener

Constructs a new instances of Self from the given raw file descriptor. Read more