Struct rotor::mio::deprecated::UnixListener
[−]
[src]
pub struct UnixListener { /* fields omitted */ }
Methods
impl UnixListener
fn bind<P>(addr: &P) -> Result<UnixListener, Error> where P: AsRef<Path> + ?Sized
fn accept(&self) -> Result<UnixStream, Error>
fn try_clone(&self) -> Result<UnixListener, Error>
Trait Implementations
impl AsRawFd for UnixListener
impl Debug for UnixListener
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl From<UnixSocket> for UnixListener
fn from(sys: UnixSocket) -> UnixListener
Performs the conversion.