Trait command_fds::CommandFdExt [−][src]
pub trait CommandFdExt { fn fd_mappings(
&mut self,
mappings: Vec<FdMapping>
) -> Result<(), FdMappingCollision>; }
Extension to add file descriptor mappings to a Command
.
Required methods
fn fd_mappings(
&mut self,
mappings: Vec<FdMapping>
) -> Result<(), FdMappingCollision>
[src]
&mut self,
mappings: Vec<FdMapping>
) -> Result<(), FdMappingCollision>
Adds the given set of file descriptor to the command.
Calling this more than once on the same command may result in unexpected behaviour.
Implementations on Foreign Types
impl CommandFdExt for Command
[src]
impl CommandFdExt for Command
[src]fn fd_mappings(
&mut self,
mappings: Vec<FdMapping>
) -> Result<(), FdMappingCollision>
[src]
&mut self,
mappings: Vec<FdMapping>
) -> Result<(), FdMappingCollision>