#[repr(transparent)]pub struct SourceValidationType(pub u8);Expand description
Source validation type for IRTE (§9.9).
Tuple Fields§
§0: u8Implementations§
Source§impl SourceValidationType
impl SourceValidationType
Sourcepub const NONE: SourceValidationType
pub const NONE: SourceValidationType
No source validation — any device can use this IRTE.
Sourcepub const VERIFY_SID: SourceValidationType
pub const VERIFY_SID: SourceValidationType
Verify source ID matches IRTE.SID (per SQ mask).
Sourcepub const VERIFY_BUS_RANGE: SourceValidationType
pub const VERIFY_BUS_RANGE: SourceValidationType
Verify source bus number is in range [SID[7:0], SID[15:8]].
Trait Implementations§
Source§impl Clone for SourceValidationType
impl Clone for SourceValidationType
Source§fn clone(&self) -> SourceValidationType
fn clone(&self) -> SourceValidationType
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 SourceValidationType
impl Debug for SourceValidationType
Source§impl Hash for SourceValidationType
impl Hash for SourceValidationType
Source§impl Inspect for SourceValidationType
impl Inspect for SourceValidationType
Source§impl Ord for SourceValidationType
impl Ord for SourceValidationType
Source§fn cmp(&self, other: &SourceValidationType) -> Ordering
fn cmp(&self, other: &SourceValidationType) -> 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 SourceValidationType
impl PartialEq for SourceValidationType
Source§impl PartialOrd for SourceValidationType
impl PartialOrd for SourceValidationType
impl Copy for SourceValidationType
impl Eq for SourceValidationType
impl StructuralPartialEq for SourceValidationType
Auto Trait Implementations§
impl Freeze for SourceValidationType
impl RefUnwindSafe for SourceValidationType
impl Send for SourceValidationType
impl Sync for SourceValidationType
impl Unpin for SourceValidationType
impl UnsafeUnpin for SourceValidationType
impl UnwindSafe for SourceValidationType
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