pub struct ReadCommand { /* private fields */ }
Implementations§
source§impl ReadCommand
impl ReadCommand
sourcepub fn new(
cid: CommandId,
nsid: NamespaceId,
dptr: Dptr,
start_lba: u64,
nr_blocks: u16,
access_info: ReadDword13,
) -> Self
pub fn new( cid: CommandId, nsid: NamespaceId, dptr: Dptr, start_lba: u64, nr_blocks: u16, access_info: ReadDword13, ) -> Self
Construct a Create IO Completion Queue request. See base spec section 5.4 for more details.
Trait Implementations§
source§impl From<ReadCommand> for CommonCommand
impl From<ReadCommand> for CommonCommand
source§fn from(c: ReadCommand) -> Self
fn from(c: ReadCommand) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReadCommand
impl RefUnwindSafe for ReadCommand
impl Send for ReadCommand
impl Sync for ReadCommand
impl Unpin for ReadCommand
impl UnwindSafe for ReadCommand
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