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

pub struct UnixListener {
    // some fields omitted
}

Methods

impl UnixListener

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

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

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

Trait Implementations

impl FromRawFd for UnixListener

unsafe fn from_raw_fd(fd: i32) -> UnixListener

impl AsRawFd for UnixListener

fn as_raw_fd(&self) -> i32

impl From<UnixSocket> for UnixListener

fn from(sys: UnixSocket) -> UnixListener

impl TryAccept for UnixListener

type Output = UnixStream

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

impl Evented for UnixListener

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

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

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

Derived Implementations

impl Debug for UnixListener

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