#[repr(u8)]pub enum FailureSimulator_Kind {
Nothing = 0,
OOM = 1,
StackOOM = 2,
Interrupt = 3,
}Variants§
Trait Implementations§
Source§impl Clone for FailureSimulator_Kind
impl Clone for FailureSimulator_Kind
Source§fn clone(&self) -> FailureSimulator_Kind
fn clone(&self) -> FailureSimulator_Kind
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 FailureSimulator_Kind
impl Debug for FailureSimulator_Kind
Source§impl Hash for FailureSimulator_Kind
impl Hash for FailureSimulator_Kind
Source§impl PartialEq for FailureSimulator_Kind
impl PartialEq for FailureSimulator_Kind
impl Copy for FailureSimulator_Kind
impl Eq for FailureSimulator_Kind
impl StructuralPartialEq for FailureSimulator_Kind
Auto Trait Implementations§
impl Freeze for FailureSimulator_Kind
impl RefUnwindSafe for FailureSimulator_Kind
impl Send for FailureSimulator_Kind
impl Sync for FailureSimulator_Kind
impl Unpin for FailureSimulator_Kind
impl UnwindSafe for FailureSimulator_Kind
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> Filterable for T
impl<T> Filterable for T
Source§fn filterable(
self,
filter_name: &'static str,
) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
fn filterable( self, filter_name: &'static str, ) -> RequestFilterDataProvider<T, fn(DataRequest<'_>) -> bool>
Creates a filterable data provider with the given name for debugging. Read more
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> MaybeSendSync 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:
Nothing: 0 bytesOOM: 0 bytesStackOOM: 0 bytesInterrupt: 0 bytes