#[repr(C)]pub struct nvme_registered_ctrl {
pub cntlid: __le16,
pub rcsts: __u8,
pub rsvd3: [__u8; 5],
pub hostid: __le64,
pub rkey: __le64,
}Expand description
struct nvme_registered_ctrl - Registered Controller Data Structure @cntlid: Controller ID @rcsts: Reservation Status @rsvd3: Reserved @hostid: Host Identifier @rkey: Reservation Key
Fields§
§cntlid: __le16§rcsts: __u8§rsvd3: [__u8; 5]§hostid: __le64§rkey: __le64Trait Implementations§
Source§impl Clone for nvme_registered_ctrl
impl Clone for nvme_registered_ctrl
Source§fn clone(&self) -> nvme_registered_ctrl
fn clone(&self) -> nvme_registered_ctrl
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_registered_ctrl
impl Debug for nvme_registered_ctrl
Source§impl Default for nvme_registered_ctrl
impl Default for nvme_registered_ctrl
Source§fn default() -> nvme_registered_ctrl
fn default() -> nvme_registered_ctrl
Returns the “default value” for a type. Read more
impl Copy for nvme_registered_ctrl
Auto Trait Implementations§
impl Freeze for nvme_registered_ctrl
impl RefUnwindSafe for nvme_registered_ctrl
impl Send for nvme_registered_ctrl
impl Sync for nvme_registered_ctrl
impl Unpin for nvme_registered_ctrl
impl UnsafeUnpin for nvme_registered_ctrl
impl UnwindSafe for nvme_registered_ctrl
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