Struct mio::deprecated::unix::UnixListener
[−]
[src]
pub struct UnixListener { /* fields omitted */ }
Methods
impl UnixListener
[src]
fn bind<P: AsRef<Path> + ?Sized>(addr: &P) -> Result<UnixListener>
fn accept(&self) -> Result<UnixStream>
fn try_clone(&self) -> Result<UnixListener>
Trait Implementations
impl Debug for UnixListener
[src]
impl Evented for UnixListener
[src]
fn register(&self,
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt)
-> Result<()>
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt)
-> Result<()>
fn reregister(&self,
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt)
-> Result<()>
poll: &Poll,
token: Token,
interest: Ready,
opts: PollOpt)
-> Result<()>
fn deregister(&self, poll: &Poll) -> Result<()>
impl TryAccept for UnixListener
[src]
type Output = UnixStream
fn accept(&self) -> Result<Option<UnixStream>>
impl From<UnixSocket> for UnixListener
[src]
fn from(sys: UnixSocket) -> UnixListener
Performs the conversion.
impl IntoRawFd for UnixListener
[src]
fn into_raw_fd(self) -> RawFd
Consumes this object, returning the raw underlying file descriptor. Read more
impl AsRawFd for UnixListener
[src]
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