#[repr(u8)]pub enum SpiFilterRule {
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 SpiFilterRule
impl SpiFilterRule
Trait Implementations§
Source§impl Clone for SpiFilterRule
impl Clone for SpiFilterRule
Source§fn clone(&self) -> SpiFilterRule
fn clone(&self) -> SpiFilterRule
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 SpiFilterRule
impl Debug for SpiFilterRule
Source§impl From<SpiFilterRule> for u8
impl From<SpiFilterRule> for u8
Source§fn from(val: SpiFilterRule) -> u8
fn from(val: SpiFilterRule) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SpiFilterRule
impl From<u8> for SpiFilterRule
Source§fn from(val: u8) -> SpiFilterRule
fn from(val: u8) -> SpiFilterRule
Converts to this type from the input type.
Source§impl Ord for SpiFilterRule
impl Ord for SpiFilterRule
Source§fn cmp(&self, other: &SpiFilterRule) -> Ordering
fn cmp(&self, other: &SpiFilterRule) -> 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 SpiFilterRule
impl PartialEq for SpiFilterRule
Source§impl PartialOrd for SpiFilterRule
impl PartialOrd for SpiFilterRule
impl Copy for SpiFilterRule
impl Eq for SpiFilterRule
impl StructuralPartialEq for SpiFilterRule
Auto Trait Implementations§
impl Freeze for SpiFilterRule
impl RefUnwindSafe for SpiFilterRule
impl Send for SpiFilterRule
impl Sync for SpiFilterRule
impl Unpin for SpiFilterRule
impl UnwindSafe for SpiFilterRule
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