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