[][src]Enum nvml_wrapper::enum_wrappers::device::Api

pub enum Api {
    ApplicationClocks,
    AutoBoostedClocks,
}

API types that allow changes to default permission restrictions.

Variants

ApplicationClocks

APIs that change application clocks.

Applicable methods on Device: .set_applications_clocks(), .reset_applications_clocks()

AutoBoostedClocks

APIs that enable/disable auto boosted clocks.

Applicable methods on Device: .set_auto_boosted_clocks()

Implementations

impl Api[src]

pub fn as_c(&self) -> nvmlRestrictedAPI_enum[src]

Returns the C enum variant equivalent for the given Rust enum variant

Trait Implementations

impl Clone for Api[src]

impl Debug for Api[src]

impl Eq for Api[src]

impl Hash for Api[src]

impl PartialEq<Api> for Api[src]

impl StructuralEq for Api[src]

impl StructuralPartialEq for Api[src]

impl TryFrom<u32> for Api[src]

type Error = NvmlError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Api

impl Send for Api

impl Sync for Api

impl Unpin for Api

impl UnwindSafe for Api

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.