[−][src]Enum nvml_wrapper::enum_wrappers::device::Sampling
Possible types of sampling events.
Variants
Total power drawn by GPU.
Percent of time during which one or more kernels was executing on the GPU.
Percent of time during which global (device) memory was being read or written.
Percent of time during which NVENC remains busy.
Percent of time during which NVDEC remains busy.
Processor clock samples.
Memory clock samples.
Implementations
impl Sampling[src]
pub fn as_c(&self) -> nvmlSamplingType_enum[src]
Returns the C enum variant equivalent for the given Rust enum variant
Trait Implementations
impl Clone for Sampling[src]
impl Debug for Sampling[src]
impl Eq for Sampling[src]
impl Hash for Sampling[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<Sampling> for Sampling[src]
pub fn eq(&self, other: &Sampling) -> bool[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool1.0.0[src]
impl StructuralEq for Sampling[src]
impl StructuralPartialEq for Sampling[src]
impl TryFrom<u32> for Sampling[src]
Auto Trait Implementations
impl RefUnwindSafe for Sampling
impl Send for Sampling
impl Sync for Sampling
impl Unpin for Sampling
impl UnwindSafe for Sampling
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,