#[repr(transparent)]pub struct CommandCompletion(_);
Expand description
Command Completion Event TRB
Implementations§
source§impl CommandCompletion
impl CommandCompletion
sourcepub fn completion_code(&self) -> Result<CompletionCode, u8>
pub fn completion_code(&self) -> Result<CompletionCode, u8>
source§impl CommandCompletion
impl CommandCompletion
sourcepub fn command_trb_pointer(&self) -> u64
pub fn command_trb_pointer(&self) -> u64
Returns the value of the Command TRB Pointer field.
sourcepub fn command_completion_parameter(self) -> u32
pub fn command_completion_parameter(self) -> u32
Returns the value of the Command Completion Parameter field.
Trait Implementations§
source§impl AsRef<[u32]> for CommandCompletion
impl AsRef<[u32]> for CommandCompletion
source§impl Clone for CommandCompletion
impl Clone for CommandCompletion
source§fn clone(&self) -> CommandCompletion
fn clone(&self) -> CommandCompletion
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 Debug for CommandCompletion
impl Debug for CommandCompletion
source§impl Default for CommandCompletion
impl Default for CommandCompletion
source§impl From<CommandCompletion> for [u32; 4]
impl From<CommandCompletion> for [u32; 4]
source§fn from(t: CommandCompletion) -> Self
fn from(t: CommandCompletion) -> Self
Converts to this type from the input type.
source§impl From<CommandCompletion> for Allowed
impl From<CommandCompletion> for Allowed
source§fn from(v: CommandCompletion) -> Self
fn from(v: CommandCompletion) -> Self
Converts to this type from the input type.
source§impl Hash for CommandCompletion
impl Hash for CommandCompletion
source§impl Ord for CommandCompletion
impl Ord for CommandCompletion
source§fn cmp(&self, other: &CommandCompletion) -> Ordering
fn cmp(&self, other: &CommandCompletion) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<CommandCompletion> for CommandCompletion
impl PartialEq<CommandCompletion> for CommandCompletion
source§fn eq(&self, other: &CommandCompletion) -> bool
fn eq(&self, other: &CommandCompletion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<CommandCompletion> for CommandCompletion
impl PartialOrd<CommandCompletion> for CommandCompletion
source§fn partial_cmp(&self, other: &CommandCompletion) -> Option<Ordering>
fn partial_cmp(&self, other: &CommandCompletion) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CommandCompletion
impl Eq for CommandCompletion
impl StructuralEq for CommandCompletion
impl StructuralPartialEq for CommandCompletion
Auto Trait Implementations§
impl RefUnwindSafe for CommandCompletion
impl Send for CommandCompletion
impl Sync for CommandCompletion
impl Unpin for CommandCompletion
impl UnwindSafe for CommandCompletion
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