Struct bootstrap::utils::exec::BootstrapCommand
source · pub struct BootstrapCommand<'a> {
pub command: &'a mut Command,
pub failure_behavior: BehaviorOnFailure,
pub output_mode: OutputMode,
}
Expand description
Wrapper around std::process::Command
.
Fields§
§command: &'a mut Command
§failure_behavior: BehaviorOnFailure
§output_mode: OutputMode
Implementations§
source§impl<'a> BootstrapCommand<'a>
impl<'a> BootstrapCommand<'a>
pub fn delay_failure(self) -> Self
pub fn fail_fast(self) -> Self
pub fn allow_failure(self) -> Self
pub fn output_mode(self, output_mode: OutputMode) -> Self
Trait Implementations§
source§impl<'a> Debug for BootstrapCommand<'a>
impl<'a> Debug for BootstrapCommand<'a>
Auto Trait Implementations§
impl<'a> Freeze for BootstrapCommand<'a>
impl<'a> !RefUnwindSafe for BootstrapCommand<'a>
impl<'a> Send for BootstrapCommand<'a>
impl<'a> Sync for BootstrapCommand<'a>
impl<'a> Unpin for BootstrapCommand<'a>
impl<'a> !UnwindSafe for BootstrapCommand<'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
§impl<T> Pointable for T
impl<T> Pointable for T
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes