pub struct NvmeRequester {
    subq: Mutex<SubmissionQueue>,
    comq: Mutex<CompletionQueue>,
    sub_bell: *const VolatileCell<u32>,
    com_bell: *const VolatileCell<u32>,
    _sub_dma: NvmeDmaSliceRegion<CommonCommand>,
    _com_dma: NvmeDmaSliceRegion<CommonCompletion>,
}

Fields

subq: Mutex<SubmissionQueue>comq: Mutex<CompletionQueue>sub_bell: *const VolatileCell<u32>com_bell: *const VolatileCell<u32>_sub_dma: NvmeDmaSliceRegion<CommonCommand>_com_dma: NvmeDmaSliceRegion<CommonCompletion>

Implementations

Trait Implementations

The type of a request that will be used by the SubmitRequest wrapper to submit requests to the driver. Read more
The type of a response to a request that we will use to send back to the Requester via the [requester::Requester::finish] function. Read more
The type of a submit error in case submission fails.
The actual submit function. The driver should perform whatever device-specific submission procedure it needs to to submit all requests. Read more
Manually flush any internal driver submission queue.
The number of IDs to have in-flight at a time.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.