Struct smbioslib::SystemResetCapabilities
source · pub struct SystemResetCapabilities {
pub raw: u8,
}
Expand description
Fields§
§raw: u8
Raw byte of the system reset capabilities
Implementations§
source§impl SystemResetCapabilities
impl SystemResetCapabilities
sourcepub fn has_watchdog_timer(&self) -> bool
pub fn has_watchdog_timer(&self) -> bool
System contains a watchdog timer; either True (1) or False (0).
sourcepub fn boot_option_on_limit(&self) -> BootOptionOnLimit
pub fn boot_option_on_limit(&self) -> BootOptionOnLimit
Boot Option on Limit
Identifies one of the system actions to be taken when the Reset Limit is reached.
sourcepub fn boot_option(&self) -> BootOption
pub fn boot_option(&self) -> BootOption
Boot Option
Indicates one of the following actions to be taken after a watchdog reset:
sourcepub fn reset_enabled(&self) -> bool
pub fn reset_enabled(&self) -> bool
Status
Identifies whether (1) or not (0) the system reset is enabled by the user.
Trait Implementations§
source§impl Debug for SystemResetCapabilities
impl Debug for SystemResetCapabilities
source§impl From<u8> for SystemResetCapabilities
impl From<u8> for SystemResetCapabilities
source§impl PartialEq<SystemResetCapabilities> for SystemResetCapabilities
impl PartialEq<SystemResetCapabilities> for SystemResetCapabilities
source§fn eq(&self, other: &SystemResetCapabilities) -> bool
fn eq(&self, other: &SystemResetCapabilities) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SystemResetCapabilities
impl Serialize for SystemResetCapabilities
impl Eq for SystemResetCapabilities
impl StructuralEq for SystemResetCapabilities
impl StructuralPartialEq for SystemResetCapabilities
Auto Trait Implementations§
impl RefUnwindSafe for SystemResetCapabilities
impl Send for SystemResetCapabilities
impl Sync for SystemResetCapabilities
impl Unpin for SystemResetCapabilities
impl UnwindSafe for SystemResetCapabilities
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more