Enum nvml_wrapper::enum_wrappers::device::PcieUtilCounter
source · pub enum PcieUtilCounter {
Send,
Receive,
}
Expand description
Represents the queryable PCIe utilization counters (in bytes). 1KB granularity.
Variants§
Implementations§
source§impl PcieUtilCounter
impl PcieUtilCounter
sourcepub fn as_c(&self) -> nvmlPcieUtilCounter_enum
pub fn as_c(&self) -> nvmlPcieUtilCounter_enum
Returns the C enum variant equivalent for the given Rust enum variant
Trait Implementations§
source§impl Clone for PcieUtilCounter
impl Clone for PcieUtilCounter
source§fn clone(&self) -> PcieUtilCounter
fn clone(&self) -> PcieUtilCounter
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 PcieUtilCounter
impl Debug for PcieUtilCounter
source§impl Hash for PcieUtilCounter
impl Hash for PcieUtilCounter
source§impl PartialEq for PcieUtilCounter
impl PartialEq for PcieUtilCounter
source§fn eq(&self, other: &PcieUtilCounter) -> bool
fn eq(&self, other: &PcieUtilCounter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for PcieUtilCounter
impl TryFrom<u32> for PcieUtilCounter
impl Eq for PcieUtilCounter
impl StructuralPartialEq for PcieUtilCounter
Auto Trait Implementations§
impl RefUnwindSafe for PcieUtilCounter
impl Send for PcieUtilCounter
impl Sync for PcieUtilCounter
impl Unpin for PcieUtilCounter
impl UnwindSafe for PcieUtilCounter
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