#[repr(C)]pub struct nvme_secondary_ctrl {
pub scid: __le16,
pub pcid: __le16,
pub scs: __u8,
pub rsvd5: [__u8; 3],
pub vfn: __le16,
pub nvq: __le16,
pub nvi: __le16,
pub rsvd14: [__u8; 18],
}Expand description
struct nvme_secondary_ctrl - Secondary Controller Entry @scid: Secondary Controller Identifier @pcid: Primary Controller Identifier @scs: Secondary Controller State @rsvd5: Reserved @vfn: Virtual Function Number @nvq: Number of VQ Flexible Resources Assigned @nvi: Number of VI Flexible Resources Assigned @rsvd14: Reserved
Fields§
§scid: __le16§pcid: __le16§scs: __u8§rsvd5: [__u8; 3]§vfn: __le16§nvq: __le16§nvi: __le16§rsvd14: [__u8; 18]Trait Implementations§
Source§impl Clone for nvme_secondary_ctrl
impl Clone for nvme_secondary_ctrl
Source§fn clone(&self) -> nvme_secondary_ctrl
fn clone(&self) -> nvme_secondary_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_secondary_ctrl
impl Debug for nvme_secondary_ctrl
Source§impl Default for nvme_secondary_ctrl
impl Default for nvme_secondary_ctrl
Source§fn default() -> nvme_secondary_ctrl
fn default() -> nvme_secondary_ctrl
Returns the “default value” for a type. Read more
impl Copy for nvme_secondary_ctrl
Auto Trait Implementations§
impl Freeze for nvme_secondary_ctrl
impl RefUnwindSafe for nvme_secondary_ctrl
impl Send for nvme_secondary_ctrl
impl Sync for nvme_secondary_ctrl
impl Unpin for nvme_secondary_ctrl
impl UnsafeUnpin for nvme_secondary_ctrl
impl UnwindSafe for nvme_secondary_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