Enum nvml_wrapper::enum_wrappers::nv_link::ErrorCounter
source · pub enum ErrorCounter {
DlReplay,
DlRecovery,
DlCrcFlit,
DlCrcData,
}
Expand description
Represents queryable NvLink error counters.
Variants§
DlReplay
Data link transmit replay error counter.
DlRecovery
Data link transmit recovery error counter.
DlCrcFlit
Data link receive flow control digit CRC error counter.
DlCrcData
Data link receive data CRC error counter.
Implementations§
source§impl ErrorCounter
impl ErrorCounter
sourcepub fn as_c(&self) -> nvmlNvLinkErrorCounter_enum
pub fn as_c(&self) -> nvmlNvLinkErrorCounter_enum
Returns the C enum variant equivalent for the given Rust enum variant
Trait Implementations§
source§impl Clone for ErrorCounter
impl Clone for ErrorCounter
source§fn clone(&self) -> ErrorCounter
fn clone(&self) -> ErrorCounter
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 ErrorCounter
impl Debug for ErrorCounter
source§impl Hash for ErrorCounter
impl Hash for ErrorCounter
source§impl PartialEq for ErrorCounter
impl PartialEq for ErrorCounter
source§fn eq(&self, other: &ErrorCounter) -> bool
fn eq(&self, other: &ErrorCounter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for ErrorCounter
impl TryFrom<u32> for ErrorCounter
impl Eq for ErrorCounter
impl StructuralPartialEq for ErrorCounter
Auto Trait Implementations§
impl RefUnwindSafe for ErrorCounter
impl Send for ErrorCounter
impl Sync for ErrorCounter
impl Unpin for ErrorCounter
impl UnwindSafe for ErrorCounter
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