Enum Ssplitstallnyeterrdis
#[repr(u8)]pub enum Ssplitstallnyeterrdis {
EnableFix = 0,
DisableFix = 1,
}Variants§
EnableFix = 0
Transaction Error reported when device sends STALL/NYET for SSPLIT.
DisableFix = 1
Transaction Error not reported when device sends STALL/NYET for SSPLIT.
Implementations§
§impl Ssplitstallnyeterrdis
impl Ssplitstallnyeterrdis
pub const fn from_bits(val: u8) -> Ssplitstallnyeterrdis
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Ssplitstallnyeterrdis
impl Clone for Ssplitstallnyeterrdis
§fn clone(&self) -> Ssplitstallnyeterrdis
fn clone(&self) -> Ssplitstallnyeterrdis
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Ssplitstallnyeterrdis
§impl Debug for Ssplitstallnyeterrdis
impl Debug for Ssplitstallnyeterrdis
impl Eq for Ssplitstallnyeterrdis
§impl From<u8> for Ssplitstallnyeterrdis
impl From<u8> for Ssplitstallnyeterrdis
§fn from(val: u8) -> Ssplitstallnyeterrdis
fn from(val: u8) -> Ssplitstallnyeterrdis
Converts to this type from the input type.
§impl Ord for Ssplitstallnyeterrdis
impl Ord for Ssplitstallnyeterrdis
§fn cmp(&self, other: &Ssplitstallnyeterrdis) -> Ordering
fn cmp(&self, other: &Ssplitstallnyeterrdis) -> Ordering
1.21.0 (const: unstable) · 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
§impl PartialEq for Ssplitstallnyeterrdis
impl PartialEq for Ssplitstallnyeterrdis
§impl PartialOrd for Ssplitstallnyeterrdis
impl PartialOrd for Ssplitstallnyeterrdis
impl StructuralPartialEq for Ssplitstallnyeterrdis
Auto Trait Implementations§
impl Freeze for Ssplitstallnyeterrdis
impl RefUnwindSafe for Ssplitstallnyeterrdis
impl Send for Ssplitstallnyeterrdis
impl Sync for Ssplitstallnyeterrdis
impl Unpin for Ssplitstallnyeterrdis
impl UnsafeUnpin for Ssplitstallnyeterrdis
impl UnwindSafe for Ssplitstallnyeterrdis
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