#[repr(C)]pub enum EraseType {
Zeroify = 90,
Random = 165,
}Expand description
Erase type that can be used to clear the SVC_Exchange.
TODO: to be moved to svc_exchange module as used exclusively by this module primitives.
There are two types of erase model:
- Zeroify, that write 0x0 pattern in the SVC exchange zone
- Random, that write a random pattern
By now, only Zeroify is supported.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EraseType
impl RefUnwindSafe for EraseType
impl Send for EraseType
impl Sync for EraseType
impl Unpin for EraseType
impl UnwindSafe for EraseType
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