#[repr(transparent)]pub struct SetLatencyToleranceValue(_);
Expand description
Set Latency Tolerance Value Command TRB
Implementations§
source§impl SetLatencyToleranceValue
impl SetLatencyToleranceValue
sourcepub fn best_effort_latency_tolerance_value(self) -> u16
pub fn best_effort_latency_tolerance_value(self) -> u16
Returns the value of the Best Effort Latency Tolerance Value field.
sourcepub fn set_best_effort_latency_tolerance_value(
&mut self,
value: u16
) -> &mut Self
pub fn set_best_effort_latency_tolerance_value( &mut self, value: u16 ) -> &mut Self
Sets the value of the Best Effort Latency Tolerance Value field.
Trait Implementations§
source§impl AsRef<[u32]> for SetLatencyToleranceValue
impl AsRef<[u32]> for SetLatencyToleranceValue
source§impl Clone for SetLatencyToleranceValue
impl Clone for SetLatencyToleranceValue
source§fn clone(&self) -> SetLatencyToleranceValue
fn clone(&self) -> SetLatencyToleranceValue
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 SetLatencyToleranceValue
impl Debug for SetLatencyToleranceValue
source§impl Default for SetLatencyToleranceValue
impl Default for SetLatencyToleranceValue
source§impl From<SetLatencyToleranceValue> for [u32; 4]
impl From<SetLatencyToleranceValue> for [u32; 4]
source§fn from(t: SetLatencyToleranceValue) -> Self
fn from(t: SetLatencyToleranceValue) -> Self
Converts to this type from the input type.
source§impl From<SetLatencyToleranceValue> for Allowed
impl From<SetLatencyToleranceValue> for Allowed
source§fn from(v: SetLatencyToleranceValue) -> Self
fn from(v: SetLatencyToleranceValue) -> Self
Converts to this type from the input type.
source§impl Hash for SetLatencyToleranceValue
impl Hash for SetLatencyToleranceValue
source§impl Ord for SetLatencyToleranceValue
impl Ord for SetLatencyToleranceValue
source§fn cmp(&self, other: &SetLatencyToleranceValue) -> Ordering
fn cmp(&self, other: &SetLatencyToleranceValue) -> 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<SetLatencyToleranceValue> for SetLatencyToleranceValue
impl PartialEq<SetLatencyToleranceValue> for SetLatencyToleranceValue
source§fn eq(&self, other: &SetLatencyToleranceValue) -> bool
fn eq(&self, other: &SetLatencyToleranceValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SetLatencyToleranceValue> for SetLatencyToleranceValue
impl PartialOrd<SetLatencyToleranceValue> for SetLatencyToleranceValue
source§fn partial_cmp(&self, other: &SetLatencyToleranceValue) -> Option<Ordering>
fn partial_cmp(&self, other: &SetLatencyToleranceValue) -> 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 SetLatencyToleranceValue
impl Eq for SetLatencyToleranceValue
impl StructuralEq for SetLatencyToleranceValue
impl StructuralPartialEq for SetLatencyToleranceValue
Auto Trait Implementations§
impl RefUnwindSafe for SetLatencyToleranceValue
impl Send for SetLatencyToleranceValue
impl Sync for SetLatencyToleranceValue
impl Unpin for SetLatencyToleranceValue
impl UnwindSafe for SetLatencyToleranceValue
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