pub enum UtilizationCountUnit {
Cycles,
Packets,
Bytes,
}
Expand description
Represents the NvLink utilization counter packet units.
Variants§
Implementations§
source§impl UtilizationCountUnit
impl UtilizationCountUnit
sourcepub fn as_c(&self) -> nvmlNvLinkUtilizationCountUnits_enum
pub fn as_c(&self) -> nvmlNvLinkUtilizationCountUnits_enum
Returns the C enum variant equivalent for the given Rust enum variant
Trait Implementations§
source§impl Clone for UtilizationCountUnit
impl Clone for UtilizationCountUnit
source§fn clone(&self) -> UtilizationCountUnit
fn clone(&self) -> UtilizationCountUnit
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 UtilizationCountUnit
impl Debug for UtilizationCountUnit
source§impl Hash for UtilizationCountUnit
impl Hash for UtilizationCountUnit
source§impl PartialEq for UtilizationCountUnit
impl PartialEq for UtilizationCountUnit
source§fn eq(&self, other: &UtilizationCountUnit) -> bool
fn eq(&self, other: &UtilizationCountUnit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for UtilizationCountUnit
impl TryFrom<u32> for UtilizationCountUnit
impl Eq for UtilizationCountUnit
impl StructuralPartialEq for UtilizationCountUnit
Auto Trait Implementations§
impl RefUnwindSafe for UtilizationCountUnit
impl Send for UtilizationCountUnit
impl Sync for UtilizationCountUnit
impl Unpin for UtilizationCountUnit
impl UnwindSafe for UtilizationCountUnit
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