[][src]Crate fd_queue

A library for provinding abstractions for passing RawFd between processes. This is necessarily a Unix (or Unix-like) library as RawFd are Unix specific.

The underlying mechanism for passing the RawFd is a Unix socket, but the different abstractions provided here are different ways of embedding this in the Rust ecosystem.

Modules

mio

An implementation of EnqueueFd and DequeueFd that is integrated with mio.

tokio

An implementation of EnqueueFd and DequeueFd that is integrated with tokio.

Structs

Incoming

An iterator over incoming connections to a UnixListener.

QueueFullError

Error returned when the queue of RawFd is full.

UnixListener

A structure representing a Unix domain socket server whose connected sockets have support for passing RawFd.

UnixStream

A structure representing a connected Unix socket with support for passing RawFd.

Traits

DequeueFd

An interface to dequeue a RawFd that was previously transmitted from a different process.

EnqueueFd

An interface to enqueue a RawFd for later tranmission to a different process.