Struct rotor::mio::unix::UnixListener
[−]
[src]
pub struct UnixListener { // some fields omitted }
pub struct UnixListener { // some fields omitted }
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>
impl FromRawFd for UnixListener
unsafe fn from_raw_fd(fd: i32) -> UnixListener
impl AsRawFd for UnixListener
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>
impl Debug for UnixListener