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
sourceimpl 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
sourceimpl Clone for ErrorCounter
impl Clone for ErrorCounter
sourcefn clone(&self) -> ErrorCounter
fn clone(&self) -> ErrorCounter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ErrorCounter
impl Debug for ErrorCounter
sourceimpl Hash for ErrorCounter
impl Hash for ErrorCounter
sourceimpl PartialEq<ErrorCounter> for ErrorCounter
impl PartialEq<ErrorCounter> for ErrorCounter
sourceimpl TryFrom<u32> for ErrorCounter
impl TryFrom<u32> for ErrorCounter
impl Eq for ErrorCounter
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more