#[repr(u32)]pub enum NvLinkErrorCounter {
DlReplay = 0,
DlRecovery = 1,
DlCrcFlit = 2,
DlCrcData = 3,
DlEccData = 4,
Count = 5,
}Variants§
Trait Implementations§
Source§impl Clone for NvLinkErrorCounter
impl Clone for NvLinkErrorCounter
Source§fn clone(&self) -> NvLinkErrorCounter
fn clone(&self) -> NvLinkErrorCounter
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 moreSource§impl Debug for NvLinkErrorCounter
impl Debug for NvLinkErrorCounter
Source§impl From<NvLinkErrorCounter> for nvmlNvLinkErrorCounter_t
impl From<NvLinkErrorCounter> for nvmlNvLinkErrorCounter_t
Source§fn from(value: NvLinkErrorCounter) -> Self
fn from(value: NvLinkErrorCounter) -> Self
Converts to this type from the input type.
Source§impl From<NvLinkErrorCounter> for u32
impl From<NvLinkErrorCounter> for u32
Source§fn from(enum_value: NvLinkErrorCounter) -> Self
fn from(enum_value: NvLinkErrorCounter) -> Self
Converts to this type from the input type.
Source§impl From<nvmlNvLinkErrorCounter_enum> for NvLinkErrorCounter
impl From<nvmlNvLinkErrorCounter_enum> for NvLinkErrorCounter
Source§fn from(value: nvmlNvLinkErrorCounter_t) -> Self
fn from(value: nvmlNvLinkErrorCounter_t) -> Self
Converts to this type from the input type.
Source§impl Hash for NvLinkErrorCounter
impl Hash for NvLinkErrorCounter
Source§impl PartialEq for NvLinkErrorCounter
impl PartialEq for NvLinkErrorCounter
Source§fn eq(&self, other: &NvLinkErrorCounter) -> bool
fn eq(&self, other: &NvLinkErrorCounter) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<u32> for NvLinkErrorCounter
impl TryFrom<u32> for NvLinkErrorCounter
Source§type Error = TryFromPrimitiveError<NvLinkErrorCounter>
type Error = TryFromPrimitiveError<NvLinkErrorCounter>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for NvLinkErrorCounter
impl TryFromPrimitive for NvLinkErrorCounter
const NAME: &'static str = "NvLinkErrorCounter"
type Primitive = u32
type Error = TryFromPrimitiveError<NvLinkErrorCounter>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for NvLinkErrorCounter
impl Eq for NvLinkErrorCounter
impl StructuralPartialEq for NvLinkErrorCounter
Auto Trait Implementations§
impl Freeze for NvLinkErrorCounter
impl RefUnwindSafe for NvLinkErrorCounter
impl Send for NvLinkErrorCounter
impl Sync for NvLinkErrorCounter
impl Unpin for NvLinkErrorCounter
impl UnsafeUnpin for NvLinkErrorCounter
impl UnwindSafe for NvLinkErrorCounter
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