#[repr(C, packed(1))]pub struct nvme_ns_id_desc {
pub nidt: __u8,
pub nidl: __u8,
pub rsvd: __le16,
pub nid: __IncompleteArrayField<__u8>,
}Expand description
struct nvme_ns_id_desc - Namespace identifier type descriptor @nidt: Namespace Identifier Type, see &enum nvme_ns_id_desc_nidt @nidl: Namespace Identifier Length contains the length in bytes of the &struct nvme_id_ns.nid. @rsvd: Reserved @nid: Namespace Identifier contains a value that is globally unique and assigned to the namespace when the namespace is created. The length is defined in &struct nvme_id_ns.nidl.
Fields§
§nidt: __u8§nidl: __u8§rsvd: __le16§nid: __IncompleteArrayField<__u8>Trait Implementations§
Auto Trait Implementations§
impl Freeze for nvme_ns_id_desc
impl RefUnwindSafe for nvme_ns_id_desc
impl Send for nvme_ns_id_desc
impl Sync for nvme_ns_id_desc
impl Unpin for nvme_ns_id_desc
impl UnsafeUnpin for nvme_ns_id_desc
impl UnwindSafe for nvme_ns_id_desc
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