[][src]Trait fd_queue::DequeueFd

pub trait DequeueFd {
    pub fn dequeue(&mut self) -> Option<RawFd>;
}

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 tranmitting the RawFd before it can be dequeued. Specfically the RawFd will become available for dequeuing after at least 1 byte has been read().

Required methods

pub fn dequeue(&mut self) -> Option<RawFd>[src]

Dequeue a previouly transmitted RawFd.

The caller is responsible for closing this RawFd.

Loading content...

Implementors

impl DequeueFd for fd_queue::mio::UnixStream[src]

impl DequeueFd for fd_queue::UnixStream[src]

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.

impl DequeueFd for fd_queue::tokio::UnixStream[src]

Loading content...