#[repr(u32)]pub enum EraseMode {
Erase = 0,
SecureErase = 2_147_483_648,
Trim = 1,
SecureTrim1 = 2_147_483_649,
SecureTrim2 = 2_147_516_416,
Discard = 3,
}Expand description
Represents the erase mode argument.
Variants§
Erase = 0
SecureErase = 2_147_483_648
Trim = 1
SecureTrim1 = 2_147_483_649
SecureTrim2 = 2_147_516_416
Discard = 3
Implementations§
Trait Implementations§
impl Copy for EraseMode
impl Eq for EraseMode
impl StructuralPartialEq for EraseMode
Auto Trait Implementations§
impl Freeze for EraseMode
impl RefUnwindSafe for EraseMode
impl Send for EraseMode
impl Sync for EraseMode
impl Unpin for EraseMode
impl UnwindSafe for EraseMode
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