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