pub struct NvmeControllerHandle {
pub subsystem_id: Guid,
pub msix_count: u16,
pub max_io_queues: u16,
pub namespaces: Vec<NamespaceDefinition>,
}
Expand description
A handle to an NVMe controller.
Fields§
§subsystem_id: Guid
The subsystem ID to use when responding to controller identify queries.
msix_count: u16
The number of MSI-X interrupts to support.
max_io_queues: u16
The number of IO queues to support.
namespaces: Vec<NamespaceDefinition>
The initial set of namespaces.
Trait Implementations§
Source§impl DefaultEncoding for NvmeControllerHandle
impl DefaultEncoding for NvmeControllerHandle
Source§impl ResourceId<PciDeviceHandleKind> for NvmeControllerHandle
impl ResourceId<PciDeviceHandleKind> for NvmeControllerHandle
Source§impl<'encoding> StructDecodeMetadata<'encoding, Resource> for NvmeControllerHandle
impl<'encoding> StructDecodeMetadata<'encoding, Resource> for NvmeControllerHandle
Source§impl StructEncodeMetadata<Resource> for NvmeControllerHandle
impl StructEncodeMetadata<Resource> for NvmeControllerHandle
Auto Trait Implementations§
impl Freeze for NvmeControllerHandle
impl !RefUnwindSafe for NvmeControllerHandle
impl Send for NvmeControllerHandle
impl !Sync for NvmeControllerHandle
impl Unpin for NvmeControllerHandle
impl !UnwindSafe for NvmeControllerHandle
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T, K> IntoResource<K> for Twhere
T: 'static + ResourceId<K> + MeshPayload + Send,
K: ResourceKind,
impl<T, K> IntoResource<K> for Twhere
T: 'static + ResourceId<K> + MeshPayload + Send,
K: ResourceKind,
§fn into_resource(self) -> Resource<K>
fn into_resource(self) -> Resource<K>
Converts
self
into a Resource
.§impl<T> MeshField for T
impl<T> MeshField for T
§impl<T> MeshPayload for T
impl<T> MeshPayload for T
§impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
Computes the message size, as in [
MessageEncode::compute_message_size
].§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in [
MessageEncode::write_message
].