Enum nvml_wrapper::enums::nv_link::Counter
source · #[repr(u32)]pub enum Counter {
Zero = 0,
One = 1,
}
Expand description
Used to specify the counter in NvLink.set_utilization_control_for()
NVIDIA simply says that the counter specified can be either 0 or 1.
Variants§
Trait Implementations§
source§impl PartialEq for Counter
impl PartialEq for Counter
impl Eq for Counter
impl StructuralPartialEq for Counter
Auto Trait Implementations§
impl RefUnwindSafe for Counter
impl Send for Counter
impl Sync for Counter
impl Unpin for Counter
impl UnwindSafe for Counter
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