#[repr(transparent)]pub struct PortStatusChange(_);
Expand description
Port Status Change Event TRB
Implementations§
source§impl PortStatusChange
impl PortStatusChange
sourcepub fn completion_code(&self) -> Result<CompletionCode, u8>
pub fn completion_code(&self) -> Result<CompletionCode, u8>
Trait Implementations§
source§impl AsRef<[u32]> for PortStatusChange
impl AsRef<[u32]> for PortStatusChange
source§impl Clone for PortStatusChange
impl Clone for PortStatusChange
source§fn clone(&self) -> PortStatusChange
fn clone(&self) -> PortStatusChange
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 PortStatusChange
impl Debug for PortStatusChange
source§impl Default for PortStatusChange
impl Default for PortStatusChange
source§impl From<PortStatusChange> for [u32; 4]
impl From<PortStatusChange> for [u32; 4]
source§fn from(t: PortStatusChange) -> Self
fn from(t: PortStatusChange) -> Self
Converts to this type from the input type.
source§impl From<PortStatusChange> for Allowed
impl From<PortStatusChange> for Allowed
source§fn from(v: PortStatusChange) -> Self
fn from(v: PortStatusChange) -> Self
Converts to this type from the input type.
source§impl Hash for PortStatusChange
impl Hash for PortStatusChange
source§impl Ord for PortStatusChange
impl Ord for PortStatusChange
source§fn cmp(&self, other: &PortStatusChange) -> Ordering
fn cmp(&self, other: &PortStatusChange) -> 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<PortStatusChange> for PortStatusChange
impl PartialEq<PortStatusChange> for PortStatusChange
source§fn eq(&self, other: &PortStatusChange) -> bool
fn eq(&self, other: &PortStatusChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PortStatusChange> for PortStatusChange
impl PartialOrd<PortStatusChange> for PortStatusChange
source§fn partial_cmp(&self, other: &PortStatusChange) -> Option<Ordering>
fn partial_cmp(&self, other: &PortStatusChange) -> 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 PortStatusChange
impl Eq for PortStatusChange
impl StructuralEq for PortStatusChange
impl StructuralPartialEq for PortStatusChange
Auto Trait Implementations§
impl RefUnwindSafe for PortStatusChange
impl Send for PortStatusChange
impl Sync for PortStatusChange
impl Unpin for PortStatusChange
impl UnwindSafe for PortStatusChange
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