Struct fun_run::NamedCommand
source · pub struct NamedCommand<'a> { /* private fields */ }Expand description
It’s a command, with a name
Trait Implementations§
source§impl CommandWithName for NamedCommand<'_>
impl CommandWithName for NamedCommand<'_>
fn name(&mut self) -> String
fn mut_cmd(&mut self) -> &mut Command
fn named(&mut self, s: impl AsRef<str>) -> NamedCommand<'_>
fn named_fn<'a>( &'a mut self, f: impl FnOnce(&mut Command) -> String ) -> NamedCommand<'a>
source§fn named_output(&mut self) -> Result<NamedOutput, CmdError>
fn named_output(&mut self) -> Result<NamedOutput, CmdError>
Runs the command without streaming Read more
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for NamedCommand<'a>
impl<'a> Send for NamedCommand<'a>
impl<'a> Sync for NamedCommand<'a>
impl<'a> Unpin for NamedCommand<'a>
impl<'a> !UnwindSafe for NamedCommand<'a>
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