Struct tokio_uds::UnixListener [] [src]

pub struct UnixListener {
    // some fields omitted
}

A Unix socket which can accept connections from other unix sockets.

Methods

impl UnixListener
[src]

Creates a new UnixListener bound to the specified path.

Returns the local socket address of this listener.

Test whether this socket is ready to be read or not.

Returns the value of the SO_ERROR option.

Consumes this listener, returning a stream of the sockets this listener accepts.

This method returns an implementation of the Stream trait which resolves to the sockets the are accepted on this listener.

Trait Implementations

impl Debug for UnixListener
[src]

Formats the value using the given formatter.

impl AsRawFd for UnixListener
[src]

Extracts the raw file descriptor. Read more