#[repr(C)]pub enum EraseMode {
UserErase = 114,
KernelErase = 39,
}Expand description
Erase mode that can be used to clear the SVC_Exchange.
There are two types of erase mode:
- UserErase, leaving the write action to the UAPI crate, withtout kernel call
- KernelErase, requiring the kernel to execute the erasing. This last mode ensure that the erasing is atomic while it is started.
By now, only UserErase ils supported.
Variants§
Trait Implementations§
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