pub enum MPUPermissions {
NoAccess = 0,
PrivilegedRW = 1,
PrivilegedRWUserRO = 2,
FullRW = 3,
PrivilegedRO = 5,
FullRO = 6,
}Expand description
MPU Access Permissions
Variants§
NoAccess = 0
No access
PrivilegedRW = 1
Privileged read/write, user no access
PrivilegedRWUserRO = 2
Privileged read/write, user read-only
FullRW = 3
Full read/write access
PrivilegedRO = 5
Privileged read-only
FullRO = 6
Read-only (privileged and user)
Trait Implementations§
Source§impl Clone for MPUPermissions
impl Clone for MPUPermissions
Source§fn clone(&self) -> MPUPermissions
fn clone(&self) -> MPUPermissions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MPUPermissions
impl Debug for MPUPermissions
Source§impl PartialEq for MPUPermissions
impl PartialEq for MPUPermissions
Source§fn eq(&self, other: &MPUPermissions) -> bool
fn eq(&self, other: &MPUPermissions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MPUPermissions
impl Eq for MPUPermissions
impl StructuralPartialEq for MPUPermissions
Auto Trait Implementations§
impl Freeze for MPUPermissions
impl RefUnwindSafe for MPUPermissions
impl Send for MPUPermissions
impl Sync for MPUPermissions
impl Unpin for MPUPermissions
impl UnsafeUnpin for MPUPermissions
impl UnwindSafe for MPUPermissions
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.