Struct smbioslib::SystemResetCapabilities
source · [−]pub struct SystemResetCapabilities {
pub raw: u8,
}
Expand description
Fields
raw: u8
Raw byte of the system reset capabilities
Implementations
sourceimpl 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
sourceimpl Debug for SystemResetCapabilities
impl Debug for SystemResetCapabilities
sourceimpl From<u8> for SystemResetCapabilities
impl From<u8> for SystemResetCapabilities
sourceimpl PartialEq<SystemResetCapabilities> for SystemResetCapabilities
impl PartialEq<SystemResetCapabilities> for SystemResetCapabilities
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &SystemResetCapabilities) -> bool
fn ne(&self, other: &SystemResetCapabilities) -> bool
This method tests for !=
.
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more