Struct command_fds::FdMapping[][src]

pub struct FdMapping {
    pub parent_fd: RawFd,
    pub child_fd: RawFd,

A mapping from a file descriptor in the parent to a file descriptor in the child, to be applied when spawning a child process.

The parent_fd must be kept open until after the child is spawned.


parent_fd: RawFdchild_fd: RawFd

Trait Implementations

impl Clone for FdMapping[src]

impl Debug for FdMapping[src]

impl Eq for FdMapping[src]

impl PartialEq<FdMapping> for FdMapping[src]

impl StructuralEq for FdMapping[src]

impl StructuralPartialEq for FdMapping[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.