[−][src]Struct acpi_client::thermal_zone::TripPoint
Information about the temperature at which the system takes action to reduce the temperature of a thermal zone.
Fields
number: u8
A numerical identifier for the trip point.
action_type: String
The type of action the system takes when the trip point is reached.
temperature: f32
The temperature marked as a threshold.
units: Units
The units of the temperature data.
Methods
impl TripPoint
[src]
pub fn new(
path: &Path,
number: u8,
units: Units
) -> Result<TripPoint, AcpiClientError>
[src]
path: &Path,
number: u8,
units: Units
) -> Result<TripPoint, AcpiClientError>
Create a new trip point object from data from the ACPI subsystem.
Arguments
path
- The path to the ACPI device trip points are configured for.number
- The numerical id of the trip point.units
- The units to convert the temperature data to.
Auto Trait Implementations
impl RefUnwindSafe for TripPoint
impl Send for TripPoint
impl Sync for TripPoint
impl Unpin for TripPoint
impl UnwindSafe for TripPoint
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,
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, 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.
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>,