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§impl TryFrom<u32> for PcieUtilCounter
impl TryFrom<u32> for PcieUtilCounter
impl Eq for PcieUtilCounter
impl StructuralPartialEq for PcieUtilCounter
Auto Trait Implementations§
impl Freeze for PcieUtilCounter
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