#[repr(u8)]pub enum BootReasonEnum {
Unspecified = 0,
PowerOnReboot = 1,
BrownOutReset = 2,
SoftwareWatchdogReset = 3,
HardwareWatchdogReset = 4,
SoftwareUpdateCompleted = 5,
SoftwareReset = 6,
}Expand description
BootReasonEnum.
Variants§
Unspecified = 0
The Node is unable to identify the Power-On reason as one of the other provided enumeration values.
PowerOnReboot = 1
The Node has booted as the result of physical interaction with the device resulting in a reboot.
BrownOutReset = 2
The Node has rebooted as the result of a brown-out of the Node’s power supply.
SoftwareWatchdogReset = 3
The Node has rebooted as the result of a software watchdog timer.
HardwareWatchdogReset = 4
The Node has rebooted as the result of a hardware watchdog timer.
SoftwareUpdateCompleted = 5
The Node has rebooted as the result of a completed software update.
SoftwareReset = 6
The Node has rebooted as the result of a software initiated reboot.
Implementations§
Trait Implementations§
Source§impl Clone for BootReasonEnum
impl Clone for BootReasonEnum
impl Copy for BootReasonEnum
Source§impl Debug for BootReasonEnum
impl Debug for BootReasonEnum
impl Eq for BootReasonEnum
Source§impl<'a> FromTlv<'a> for BootReasonEnum
impl<'a> FromTlv<'a> for BootReasonEnum
Source§impl Hash for BootReasonEnum
impl Hash for BootReasonEnum
Source§impl Ord for BootReasonEnum
impl Ord for BootReasonEnum
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for BootReasonEnum
impl PartialEq for BootReasonEnum
Source§impl PartialOrd for BootReasonEnum
impl PartialOrd for BootReasonEnum
impl StructuralPartialEq for BootReasonEnum
Auto Trait Implementations§
impl Forget for BootReasonEnum
impl Freeze for BootReasonEnum
impl Move for BootReasonEnum
impl RefUnwindSafe for BootReasonEnum
impl Send for BootReasonEnum
impl Sync for BootReasonEnum
impl Unpin for BootReasonEnum
impl UnsafeUnpin for BootReasonEnum
impl UnwindSafe for BootReasonEnum
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