Enum Ignorectloutdata0dis
#[repr(u8)]pub enum Ignorectloutdata0dis {
Enablefix = 0,
Disablefix = 1,
}Variants§
Enablefix = 0
Transaction Error reported when host sends DATA0 PID.
Disablefix = 1
Transaction Error not reported when host sends DATA0 PID.
Implementations§
§impl Ignorectloutdata0dis
impl Ignorectloutdata0dis
pub const fn from_bits(val: u8) -> Ignorectloutdata0dis
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for Ignorectloutdata0dis
impl Clone for Ignorectloutdata0dis
§fn clone(&self) -> Ignorectloutdata0dis
fn clone(&self) -> Ignorectloutdata0dis
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 Ignorectloutdata0dis
impl Eq for Ignorectloutdata0dis
§impl From<u8> for Ignorectloutdata0dis
impl From<u8> for Ignorectloutdata0dis
§fn from(val: u8) -> Ignorectloutdata0dis
fn from(val: u8) -> Ignorectloutdata0dis
Converts to this type from the input type.
§impl Ord for Ignorectloutdata0dis
impl Ord for Ignorectloutdata0dis
§fn cmp(&self, other: &Ignorectloutdata0dis) -> Ordering
fn cmp(&self, other: &Ignorectloutdata0dis) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
§impl PartialEq for Ignorectloutdata0dis
impl PartialEq for Ignorectloutdata0dis
§impl PartialOrd for Ignorectloutdata0dis
impl PartialOrd for Ignorectloutdata0dis
impl StructuralPartialEq for Ignorectloutdata0dis
Auto Trait Implementations§
impl Forget for Ignorectloutdata0dis
impl Freeze for Ignorectloutdata0dis
impl Move for Ignorectloutdata0dis
impl RefUnwindSafe for Ignorectloutdata0dis
impl Send for Ignorectloutdata0dis
impl Sync for Ignorectloutdata0dis
impl Unpin for Ignorectloutdata0dis
impl UnsafeUnpin for Ignorectloutdata0dis
impl UnwindSafe for Ignorectloutdata0dis
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