#[repr(C)]pub struct CommonCommand { /* private fields */ }
Implementations§
source§impl CommonCommand
impl CommonCommand
pub fn new() -> Self
pub fn with_cdw0(self, cdw0: CommandDword0) -> Self
pub fn with_nsid(self, nsid: NamespaceId) -> Self
pub fn with_cdw2(self, cdw2: u32) -> Self
pub fn with_cdw3(self, cdw3: u32) -> Self
pub fn with_cdw10(self, cdw10: u32) -> Self
pub fn with_cdw11(self, cdw11: u32) -> Self
pub fn with_cdw12(self, cdw12: u32) -> Self
pub fn with_cdw13(self, cdw13: u32) -> Self
pub fn with_cdw14(self, cdw14: u32) -> Self
pub fn with_cdw15(self, cdw15: u32) -> Self
pub fn with_mptr(self, mptr: Address) -> Self
pub fn with_dptr(self, dptr: Dptr) -> Self
pub fn with_cid(self, cid: CommandId) -> Self
pub fn set_cid(&mut self, cid: CommandId)
Trait Implementations§
source§impl Clone for CommonCommand
impl Clone for CommonCommand
source§fn clone(&self) -> CommonCommand
fn clone(&self) -> CommonCommand
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for CommonCommand
impl Default for CommonCommand
source§fn default() -> CommonCommand
fn default() -> CommonCommand
Returns the “default value” for a type. Read more
source§impl From<CreateIOCompletionQueue> for CommonCommand
impl From<CreateIOCompletionQueue> for CommonCommand
source§fn from(c: CreateIOCompletionQueue) -> Self
fn from(c: CreateIOCompletionQueue) -> Self
Converts to this type from the input type.
source§impl From<CreateIOSubmissionQueue> for CommonCommand
impl From<CreateIOSubmissionQueue> for CommonCommand
source§fn from(c: CreateIOSubmissionQueue) -> Self
fn from(c: CreateIOSubmissionQueue) -> Self
Converts to this type from the input type.
source§impl From<DatasetMgmtCommand> for CommonCommand
impl From<DatasetMgmtCommand> for CommonCommand
source§fn from(c: DatasetMgmtCommand) -> Self
fn from(c: DatasetMgmtCommand) -> Self
Converts to this type from the input type.
source§impl From<Identify> for CommonCommand
impl From<Identify> for CommonCommand
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.
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.
impl Copy for CommonCommand
Auto Trait Implementations§
impl Freeze for CommonCommand
impl RefUnwindSafe for CommonCommand
impl Send for CommonCommand
impl Sync for CommonCommand
impl Unpin for CommonCommand
impl UnwindSafe for CommonCommand
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)