Struct smbioslib::SystemResetCapabilities [−][src]
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]
fn eq(&self, other: &SystemResetCapabilities) -> bool
[src]
fn ne(&self, other: &SystemResetCapabilities) -> bool
[src]
impl StructuralEq for SystemResetCapabilities
[src]
impl StructuralPartialEq for SystemResetCapabilities
[src]
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
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,
pub 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.
pub 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>,