pub struct CommandOptions {
pub mode: CommandMode,
pub stdin: Option<SharedInput>,
pub stdout: CommandStdout,
pub stderr: CommandStderr,
}Fields§
§mode: CommandMode§stdin: Option<SharedInput>§stdout: CommandStdout§stderr: CommandStderrImplementations§
Source§impl CommandOptions
impl CommandOptions
pub fn foreground() -> Self
pub fn background() -> Self
Trait Implementations§
Source§impl Clone for CommandOptions
impl Clone for CommandOptions
Source§fn clone(&self) -> CommandOptions
fn clone(&self) -> CommandOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CommandOptions
impl Default for CommandOptions
Source§fn default() -> CommandOptions
fn default() -> CommandOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommandOptions
impl RefUnwindSafe for CommandOptions
impl Send for CommandOptions
impl Sync for CommandOptions
impl Unpin for CommandOptions
impl UnwindSafe for CommandOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more