Struct smbioslib::SystemResetCapabilities [−][src]
pub struct SystemResetCapabilities { pub raw: u8, }
Fields
raw: u8
Raw byte of the system reset capabilities
Implementations
impl SystemResetCapabilities
[src]
impl SystemResetCapabilities
[src]pub fn has_watchdog_timer(&self) -> bool
[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]
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]
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]
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 Debug for SystemResetCapabilities
[src]impl PartialEq<SystemResetCapabilities> for SystemResetCapabilities
[src]
impl PartialEq<SystemResetCapabilities> for SystemResetCapabilities
[src]fn eq(&self, other: &SystemResetCapabilities) -> bool
[src]
fn eq(&self, other: &SystemResetCapabilities) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &SystemResetCapabilities) -> bool
[src]
fn ne(&self, other: &SystemResetCapabilities) -> bool
[src]This method tests for !=
.
impl Serialize for SystemResetCapabilities
[src]
impl Serialize for SystemResetCapabilities
[src]