Enum bootstrap::utils::exec::BehaviorOnFailure
source · pub enum BehaviorOnFailure {
Exit,
DelayFail,
Ignore,
}
Expand description
What should be done when the command fails.
Variants§
Exit
Immediately stop bootstrap.
DelayFail
Delay failure until the end of bootstrap invocation.
Ignore
Ignore the failure, the command can fail in an expected way.
Trait Implementations§
source§impl Clone for BehaviorOnFailure
impl Clone for BehaviorOnFailure
source§fn clone(&self) -> BehaviorOnFailure
fn clone(&self) -> BehaviorOnFailure
Returns a copy 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 Debug for BehaviorOnFailure
impl Debug for BehaviorOnFailure
impl Copy for BehaviorOnFailure
Auto Trait Implementations§
impl Freeze for BehaviorOnFailure
impl RefUnwindSafe for BehaviorOnFailure
impl Send for BehaviorOnFailure
impl Sync for BehaviorOnFailure
impl Unpin for BehaviorOnFailure
impl UnwindSafe for BehaviorOnFailure
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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: 1 byte
Size for each variant:
Exit
: 0 bytesDelayFail
: 0 bytesIgnore
: 0 bytes