Enum rp_pac::otp_data_raw::vals::PageLock
source · #[repr(u8)]pub enum PageLock {
READ_WRITE = 0,
READ_ONLY = 1,
RESERVED = 2,
INACCESSIBLE = 3,
}
Variants§
READ_WRITE = 0
Bootloader permits user reads and writes to this page
READ_ONLY = 1
Bootloader permits user reads of this page
RESERVED = 2
Do not use. Behaves the same as INACCESSIBLE
INACCESSIBLE = 3
Bootloader does not permit user access to this page
Implementations§
Trait Implementations§
source§impl Ord for PageLock
impl Ord for PageLock
source§impl PartialOrd for PageLock
impl PartialOrd for PageLock
impl Copy for PageLock
impl Eq for PageLock
impl StructuralPartialEq for PageLock
Auto Trait Implementations§
impl Freeze for PageLock
impl RefUnwindSafe for PageLock
impl Send for PageLock
impl Sync for PageLock
impl Unpin for PageLock
impl UnwindSafe for PageLock
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)