Struct smbioslib::SystemResetCapabilities[][src]

pub struct SystemResetCapabilities {
    pub raw: u8,
}

Fields

raw: u8

Raw byte of the system reset capabilities

Implementations

impl SystemResetCapabilities[src]

pub fn has_watchdog_timer(&self) -> bool[src]

System contains a watchdog timer; either True (1) or False (0).

pub fn boot_option_on_limit(&self) -> BootOptionOnLimit[src]

Boot Option on Limit

Identifies one of the system actions to be taken when the Reset Limit is reached.

pub fn boot_option(&self) -> BootOption[src]

Boot Option

Indicates one of the following actions to be taken after a watchdog reset:

pub fn reset_enabled(&self) -> bool[src]

Status

Identifies whether (1) or not (0) the system reset is enabled by the user.

Trait Implementations

impl Debug for SystemResetCapabilities[src]

impl Eq for SystemResetCapabilities[src]

impl From<u8> for SystemResetCapabilities[src]

impl PartialEq<SystemResetCapabilities> for SystemResetCapabilities[src]

impl StructuralEq for SystemResetCapabilities[src]

impl StructuralPartialEq for SystemResetCapabilities[src]

Auto Trait Implementations

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, 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.