pub trait EnqueueFd {
fn enqueue(&mut self, fd: &impl AsRawFd) -> Result<(), QueueFullError>;
}
Expand description
Required Methods
Implementors
impl EnqueueFd for fd_queue::mio::UnixStream
impl EnqueueFd for fd_queue::UnixStream
Enqueue a RawFd
for later transmission across the UnixStream
.
The RawFd
will be transmitted on a later call to a method of Write
.
The number of RawFd
that can be enqueued before being transmitted is
bounded by FD_QUEUE_SIZE
.