[][src]Struct vcgencmd::ThrottledStatus

pub struct ThrottledStatus {
    pub arm_frequency_cap_occurred: bool,
    pub arm_frequency_capped: bool,
    pub currently_throttled: bool,
    pub soft_temp_limit_active: bool,
    pub soft_temp_limit_occurred: bool,
    pub throttling_occurred: bool,
    pub under_voltage: bool,
    pub under_voltage_occurred: bool,
}

This struct represents the possible information in a bit-pattern you would get from the get_throttled command.

Fields

arm_frequency_cap_occurred: boolarm_frequency_capped: boolcurrently_throttled: boolsoft_temp_limit_active: boolsoft_temp_limit_occurred: boolthrottling_occurred: boolunder_voltage: boolunder_voltage_occurred: bool

Methods

impl ThrottledStatus[src]

pub fn new(bit_pattern: isize) -> ThrottledStatus[src]

Trait Implementations

impl Default for ThrottledStatus[src]

impl PartialOrd<ThrottledStatus> for ThrottledStatus[src]

impl PartialEq<ThrottledStatus> for ThrottledStatus[src]

impl Debug for ThrottledStatus[src]

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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

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