#[repr(C, packed(1))]pub struct nvme_fw_commit_event {
pub old_fw_rev: __le64,
pub new_fw_rev: __le64,
pub fw_commit_action: __u8,
pub fw_slot: __u8,
pub sct_fw: __u8,
pub sc_fw: __u8,
pub vndr_assign_fw_commit_rc: __le16,
}Expand description
struct nvme_fw_commit_event - Firmware Commit Event Data @old_fw_rev: Old Firmware Revision @new_fw_rev: New Firmware Revision @fw_commit_action: Firmware Commit Action @fw_slot: Firmware Slot @sct_fw: Status Code Type for Firmware Commit Command @sc_fw: Status Returned for Firmware Commit Command @vndr_assign_fw_commit_rc: Vendor Assigned Firmware Commit Result Code
Fields§
§old_fw_rev: __le64§new_fw_rev: __le64§fw_commit_action: __u8§fw_slot: __u8§sct_fw: __u8§sc_fw: __u8§vndr_assign_fw_commit_rc: __le16Trait Implementations§
Source§impl Clone for nvme_fw_commit_event
impl Clone for nvme_fw_commit_event
Source§fn clone(&self) -> nvme_fw_commit_event
fn clone(&self) -> nvme_fw_commit_event
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_fw_commit_event
impl Debug for nvme_fw_commit_event
Source§impl Default for nvme_fw_commit_event
impl Default for nvme_fw_commit_event
Source§fn default() -> nvme_fw_commit_event
fn default() -> nvme_fw_commit_event
Returns the “default value” for a type. Read more
impl Copy for nvme_fw_commit_event
Auto Trait Implementations§
impl Freeze for nvme_fw_commit_event
impl RefUnwindSafe for nvme_fw_commit_event
impl Send for nvme_fw_commit_event
impl Sync for nvme_fw_commit_event
impl Unpin for nvme_fw_commit_event
impl UnsafeUnpin for nvme_fw_commit_event
impl UnwindSafe for nvme_fw_commit_event
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