pub enum DriveErrorAction {
Ignore,
Stop,
Report,
Enospc,
}Variants§
Trait Implementations§
Source§impl Arbitrary for DriveErrorAction
impl Arbitrary for DriveErrorAction
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = TupleUnion<((u32, Arc<fn() -> DriveErrorAction>), (u32, Arc<fn() -> DriveErrorAction>), (u32, Arc<fn() -> DriveErrorAction>), (u32, Arc<fn() -> DriveErrorAction>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> DriveErrorAction>), (u32, Arc<fn() -> DriveErrorAction>), (u32, Arc<fn() -> DriveErrorAction>), (u32, Arc<fn() -> DriveErrorAction>))>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Clone for DriveErrorAction
impl Clone for DriveErrorAction
Source§fn clone(&self) -> DriveErrorAction
fn clone(&self) -> DriveErrorAction
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 DriveErrorAction
impl Debug for DriveErrorAction
Source§impl Display for DriveErrorAction
impl Display for DriveErrorAction
Source§impl FromStr for DriveErrorAction
impl FromStr for DriveErrorAction
Source§impl Hash for DriveErrorAction
impl Hash for DriveErrorAction
Source§impl Ord for DriveErrorAction
impl Ord for DriveErrorAction
Source§fn cmp(&self, other: &DriveErrorAction) -> Ordering
fn cmp(&self, other: &DriveErrorAction) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DriveErrorAction
impl PartialEq for DriveErrorAction
Source§impl PartialOrd for DriveErrorAction
impl PartialOrd for DriveErrorAction
impl Eq for DriveErrorAction
impl StructuralPartialEq for DriveErrorAction
Auto Trait Implementations§
impl Freeze for DriveErrorAction
impl RefUnwindSafe for DriveErrorAction
impl Send for DriveErrorAction
impl Sync for DriveErrorAction
impl Unpin for DriveErrorAction
impl UnsafeUnpin for DriveErrorAction
impl UnwindSafe for DriveErrorAction
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