Struct nvml_wrapper::structs::nv_link::UtilizationCounter
source · pub struct UtilizationCounter {
pub receive: u64,
pub send: u64,
}
Expand description
Returned by NvLink.utilization_counter()
Fields§
§receive: u64
Receive counter value
send: u64
Send counter value
Trait Implementations§
source§impl Clone for UtilizationCounter
impl Clone for UtilizationCounter
source§fn clone(&self) -> UtilizationCounter
fn clone(&self) -> UtilizationCounter
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 UtilizationCounter
impl Debug for UtilizationCounter
source§impl Hash for UtilizationCounter
impl Hash for UtilizationCounter
source§impl PartialEq for UtilizationCounter
impl PartialEq for UtilizationCounter
source§fn eq(&self, other: &UtilizationCounter) -> bool
fn eq(&self, other: &UtilizationCounter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UtilizationCounter
impl StructuralPartialEq for UtilizationCounter
Auto Trait Implementations§
impl RefUnwindSafe for UtilizationCounter
impl Send for UtilizationCounter
impl Sync for UtilizationCounter
impl Unpin for UtilizationCounter
impl UnwindSafe for UtilizationCounter
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