#[repr(u8)]pub enum UsbHsHostRule {
ENUM_NS_NP = 0,
ENUM_NS_P = 1,
ENUM_S_NP = 2,
ENUM_S_P = 3,
}Variants§
ENUM_NS_NP = 0
Non-secure and Non-priviledge user access allowed.
ENUM_NS_P = 1
Non-secure and Privilege access allowed.
ENUM_S_NP = 2
Secure and Non-priviledge user access allowed.
ENUM_S_P = 3
Secure and Priviledge user access allowed.
Implementations§
Source§impl UsbHsHostRule
impl UsbHsHostRule
Trait Implementations§
Source§impl Clone for UsbHsHostRule
impl Clone for UsbHsHostRule
Source§fn clone(&self) -> UsbHsHostRule
fn clone(&self) -> UsbHsHostRule
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 UsbHsHostRule
impl Debug for UsbHsHostRule
Source§impl From<UsbHsHostRule> for u8
impl From<UsbHsHostRule> for u8
Source§fn from(val: UsbHsHostRule) -> u8
fn from(val: UsbHsHostRule) -> u8
Converts to this type from the input type.
Source§impl From<u8> for UsbHsHostRule
impl From<u8> for UsbHsHostRule
Source§fn from(val: u8) -> UsbHsHostRule
fn from(val: u8) -> UsbHsHostRule
Converts to this type from the input type.
Source§impl Ord for UsbHsHostRule
impl Ord for UsbHsHostRule
Source§fn cmp(&self, other: &UsbHsHostRule) -> Ordering
fn cmp(&self, other: &UsbHsHostRule) -> 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 UsbHsHostRule
impl PartialEq for UsbHsHostRule
Source§impl PartialOrd for UsbHsHostRule
impl PartialOrd for UsbHsHostRule
impl Copy for UsbHsHostRule
impl Eq for UsbHsHostRule
impl StructuralPartialEq for UsbHsHostRule
Auto Trait Implementations§
impl Freeze for UsbHsHostRule
impl RefUnwindSafe for UsbHsHostRule
impl Send for UsbHsHostRule
impl Sync for UsbHsHostRule
impl Unpin for UsbHsHostRule
impl UnwindSafe for UsbHsHostRule
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