pub trait DequeueFd {
// Required method
fn dequeue(&mut self) -> Option<RawFd>;
}
Expand description
An interface to dequeue a RawFd
that was previously transmitted from a
different process.
This trait is intended to interact with Read
as the mechanism for
actually transmitting the RawFd
before it can be dequeued. Specifically
the RawFd
will become available for dequeuing after at least 1 byte has been
read()
.
Required Methods§
Implementors§
impl DequeueFd for fd_queue::mio::UnixStream
impl DequeueFd for fd_queue::UnixStream
Dequeue a RawFd
that was previously transmitted across the
UnixStream
.
The RawFd
that are dequeued were transmitted by a previous call to a
method of Read
.