Struct command_fds::FdMapping
source · [−]Expand description
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.
Fields
parent_fd: RawFd
child_fd: RawFd
Trait Implementations
impl Eq for FdMapping
impl StructuralEq for FdMapping
impl StructuralPartialEq for FdMapping
Auto Trait Implementations
impl RefUnwindSafe for FdMapping
impl Send for FdMapping
impl Sync for FdMapping
impl Unpin for FdMapping
impl UnwindSafe for FdMapping
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more