pub enum FaultSource {
Step,
Reset,
}Expand description
Stable source location for a latched env fault.
Variants§
Step
Fault was captured while stepping an environment.
Reset
Fault was captured while resetting an environment.
Trait Implementations§
Source§impl Clone for FaultSource
impl Clone for FaultSource
Source§fn clone(&self) -> FaultSource
fn clone(&self) -> FaultSource
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 Debug for FaultSource
impl Debug for FaultSource
Source§impl PartialEq for FaultSource
impl PartialEq for FaultSource
impl Copy for FaultSource
impl Eq for FaultSource
impl StructuralPartialEq for FaultSource
Auto Trait Implementations§
impl Freeze for FaultSource
impl RefUnwindSafe for FaultSource
impl Send for FaultSource
impl Sync for FaultSource
impl Unpin for FaultSource
impl UnwindSafe for FaultSource
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more