Trait uds::UnixListenerExt [−][src]
Extension trait for using UnixSocketAddr
with UnixListener
types.
Associated Types
Loading content...Required methods
fn bind_unix_addr(on: &UnixSocketAddr) -> Result<Self, Error>
[src]
Creates a socket bound to a UnixSocketAddr
and starts listening on it.
fn accept_unix_addr(&self) -> Result<(Self::Conn, UnixSocketAddr), Error>
[src]
Accepts a connection and returns the client’s address as
an uds::UnixSocketAddr
.
Provided methods
fn local_unix_addr(&self) -> Result<UnixSocketAddr, Error>
[src]
Returns the address this socket is listening on.