Struct windows_sys::Win32::Storage::Nvme::NVME_PERSISTENT_EVENT_LOG_HEADER
#[repr(C, packed(1))]pub struct NVME_PERSISTENT_EVENT_LOG_HEADER {Show 17 fields
pub LogIdentifier: u8,
pub Reserved0: [u8; 3],
pub TotalNumberOfEvents: u32,
pub TotalLogLength: u64,
pub LogRevision: u8,
pub Reserved1: u8,
pub LogHeaderLength: u16,
pub Timestamp: u64,
pub PowerOnHours: [u8; 16],
pub PowerCycleCount: u64,
pub PciVendorId: u16,
pub PciSubsystemVendorId: u16,
pub SerialNumber: [u8; 20],
pub ModelNumber: [u8; 40],
pub NVMSubsystemNVMeQualifiedName: [u8; 256],
pub Reserved: [u8; 108],
pub SupportedEventsBitmap: [u8; 32],
}
Fields§
§LogIdentifier: u8
§Reserved0: [u8; 3]
§TotalNumberOfEvents: u32
§TotalLogLength: u64
§LogRevision: u8
§Reserved1: u8
§LogHeaderLength: u16
§Timestamp: u64
§PowerOnHours: [u8; 16]
§PowerCycleCount: u64
§PciVendorId: u16
§PciSubsystemVendorId: u16
§SerialNumber: [u8; 20]
§ModelNumber: [u8; 40]
§NVMSubsystemNVMeQualifiedName: [u8; 256]
§Reserved: [u8; 108]
§SupportedEventsBitmap: [u8; 32]
Trait Implementations§
§impl Clone for NVME_PERSISTENT_EVENT_LOG_HEADER
impl Clone for NVME_PERSISTENT_EVENT_LOG_HEADER
§fn clone(&self) -> NVME_PERSISTENT_EVENT_LOG_HEADER
fn clone(&self) -> NVME_PERSISTENT_EVENT_LOG_HEADER
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 moreimpl Copy for NVME_PERSISTENT_EVENT_LOG_HEADER
Auto Trait Implementations§
impl Freeze for NVME_PERSISTENT_EVENT_LOG_HEADER
impl RefUnwindSafe for NVME_PERSISTENT_EVENT_LOG_HEADER
impl Send for NVME_PERSISTENT_EVENT_LOG_HEADER
impl Sync for NVME_PERSISTENT_EVENT_LOG_HEADER
impl Unpin for NVME_PERSISTENT_EVENT_LOG_HEADER
impl UnwindSafe for NVME_PERSISTENT_EVENT_LOG_HEADER
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)