#[repr(C, packed(1))]pub struct nvme_persistent_event_log {Show 19 fields
pub lid: __u8,
pub rsvd1: [__u8; 3],
pub tnev: __le32,
pub tll: __le64,
pub rv: __u8,
pub rsvd17: __u8,
pub lhl: __le16,
pub ts: __le64,
pub poh: [__u8; 16],
pub pcc: __le64,
pub vid: __le16,
pub ssvid: __le16,
pub sn: [c_char; 20],
pub mn: [c_char; 40],
pub subnqn: [c_char; 256],
pub gen_number: __le16,
pub rci: __le32,
pub rsvd378: [__u8; 102],
pub seb: [__u8; 32],
}Expand description
struct nvme_persistent_event_log - Persistent Event Log @lid: Log Identifier @rsvd1: Reserved @tnev: Total Number of Events @tll: Total Log Length @rv: Log Revision @rsvd17: Reserved @lhl: Log Header Length @ts: Timestamp @poh: Power on Hours @pcc: Power Cycle Count @vid: PCI Vendor ID @ssvid: PCI Subsystem Vendor ID @sn: Serial Number @mn: Model Number @subnqn: NVM Subsystem NVMe Qualified Name @gen_number: Generation Number @rci: Reporting Context Information @rsvd378: Reserved @seb: Supported Events Bitmap
Fields§
§lid: __u8§rsvd1: [__u8; 3]§tnev: __le32§tll: __le64§rv: __u8§rsvd17: __u8§lhl: __le16§ts: __le64§poh: [__u8; 16]§pcc: __le64§vid: __le16§ssvid: __le16§sn: [c_char; 20]§mn: [c_char; 40]§subnqn: [c_char; 256]§gen_number: __le16§rci: __le32§rsvd378: [__u8; 102]§seb: [__u8; 32]Trait Implementations§
Source§impl Clone for nvme_persistent_event_log
impl Clone for nvme_persistent_event_log
Source§fn clone(&self) -> nvme_persistent_event_log
fn clone(&self) -> nvme_persistent_event_log
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 nvme_persistent_event_log
impl Debug for nvme_persistent_event_log
Source§impl Default for nvme_persistent_event_log
impl Default for nvme_persistent_event_log
impl Copy for nvme_persistent_event_log
Auto Trait Implementations§
impl Freeze for nvme_persistent_event_log
impl RefUnwindSafe for nvme_persistent_event_log
impl Send for nvme_persistent_event_log
impl Sync for nvme_persistent_event_log
impl Unpin for nvme_persistent_event_log
impl UnsafeUnpin for nvme_persistent_event_log
impl UnwindSafe for nvme_persistent_event_log
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