#[repr(u8)]pub enum UsbFsOtgRam {
NONSECURE_NONPRIV_USER_ALLOWED = 0,
NONSECURE_PRIV_USER_ALLOWED = 1,
SECURE_NONPRIV_USER_ALLOWED = 2,
SECURE_PRIV_USER_ALLOWED = 3,
}Variants§
NONSECURE_NONPRIV_USER_ALLOWED = 0
Non-secure and non-privilege user access allowed
NONSECURE_PRIV_USER_ALLOWED = 1
Non-secure and privilege access allowed
SECURE_NONPRIV_USER_ALLOWED = 2
Secure and non-privilege user access allowed
SECURE_PRIV_USER_ALLOWED = 3
Secure and privilege user access allowed
Implementations§
Source§impl UsbFsOtgRam
impl UsbFsOtgRam
Trait Implementations§
Source§impl Clone for UsbFsOtgRam
impl Clone for UsbFsOtgRam
Source§fn clone(&self) -> UsbFsOtgRam
fn clone(&self) -> UsbFsOtgRam
Returns a duplicate of the value. Read more
1.0.0 · 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 UsbFsOtgRam
impl Debug for UsbFsOtgRam
Source§impl From<UsbFsOtgRam> for u8
impl From<UsbFsOtgRam> for u8
Source§fn from(val: UsbFsOtgRam) -> u8
fn from(val: UsbFsOtgRam) -> u8
Converts to this type from the input type.
Source§impl From<u8> for UsbFsOtgRam
impl From<u8> for UsbFsOtgRam
Source§fn from(val: u8) -> UsbFsOtgRam
fn from(val: u8) -> UsbFsOtgRam
Converts to this type from the input type.
Source§impl Ord for UsbFsOtgRam
impl Ord for UsbFsOtgRam
Source§fn cmp(&self, other: &UsbFsOtgRam) -> Ordering
fn cmp(&self, other: &UsbFsOtgRam) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UsbFsOtgRam
impl PartialEq for UsbFsOtgRam
Source§impl PartialOrd for UsbFsOtgRam
impl PartialOrd for UsbFsOtgRam
impl Copy for UsbFsOtgRam
impl Eq for UsbFsOtgRam
impl StructuralPartialEq for UsbFsOtgRam
Auto Trait Implementations§
impl Freeze for UsbFsOtgRam
impl RefUnwindSafe for UsbFsOtgRam
impl Send for UsbFsOtgRam
impl Sync for UsbFsOtgRam
impl Unpin for UsbFsOtgRam
impl UnwindSafe for UsbFsOtgRam
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