Struct WHEA_AER_ROOTPORT_DESCRIPTOR
#[repr(C, packed(1))]pub struct WHEA_AER_ROOTPORT_DESCRIPTOR {
pub Type: u16,
pub Enabled: bool,
pub Reserved: u8,
pub BusNumber: u32,
pub Slot: WHEA_PCI_SLOT_NUMBER,
pub DeviceControl: u16,
pub Flags: AER_ROOTPORT_DESCRIPTOR_FLAGS,
pub UncorrectableErrorMask: u32,
pub UncorrectableErrorSeverity: u32,
pub CorrectableErrorMask: u32,
pub AdvancedCapsAndControl: u32,
pub RootErrorCommand: u32,
}Fields§
§Type: u16§Enabled: bool§Reserved: u8§BusNumber: u32§Slot: WHEA_PCI_SLOT_NUMBER§DeviceControl: u16§Flags: AER_ROOTPORT_DESCRIPTOR_FLAGS§UncorrectableErrorMask: u32§UncorrectableErrorSeverity: u32§CorrectableErrorMask: u32§AdvancedCapsAndControl: u32§RootErrorCommand: u32Trait Implementations§
§impl Clone for WHEA_AER_ROOTPORT_DESCRIPTOR
impl Clone for WHEA_AER_ROOTPORT_DESCRIPTOR
§fn clone(&self) -> WHEA_AER_ROOTPORT_DESCRIPTOR
fn clone(&self) -> WHEA_AER_ROOTPORT_DESCRIPTOR
Returns a copy 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 more§impl Default for WHEA_AER_ROOTPORT_DESCRIPTOR
impl Default for WHEA_AER_ROOTPORT_DESCRIPTOR
impl Copy for WHEA_AER_ROOTPORT_DESCRIPTOR
Auto Trait Implementations§
impl Freeze for WHEA_AER_ROOTPORT_DESCRIPTOR
impl RefUnwindSafe for WHEA_AER_ROOTPORT_DESCRIPTOR
impl Send for WHEA_AER_ROOTPORT_DESCRIPTOR
impl Sync for WHEA_AER_ROOTPORT_DESCRIPTOR
impl Unpin for WHEA_AER_ROOTPORT_DESCRIPTOR
impl UnwindSafe for WHEA_AER_ROOTPORT_DESCRIPTOR
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