#[repr(u32)]pub enum HwRebootReason {
Undefined = 0,
Cold = 1,
Warm = 2,
Brownout = 3,
Watchdog = 4,
}
Expand description
ZBI_TYPE_HW_REBOOT_REASON payload.
Variants§
Trait Implementations§
Source§impl Clone for HwRebootReason
impl Clone for HwRebootReason
Source§fn clone(&self) -> HwRebootReason
fn clone(&self) -> HwRebootReason
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HwRebootReason
impl Debug for HwRebootReason
Source§impl PartialEq for HwRebootReason
impl PartialEq for HwRebootReason
impl Copy for HwRebootReason
impl Eq for HwRebootReason
impl IntoBytes for HwRebootReason
impl StructuralPartialEq for HwRebootReason
Auto Trait Implementations§
impl Freeze for HwRebootReason
impl RefUnwindSafe for HwRebootReason
impl Send for HwRebootReason
impl Sync for HwRebootReason
impl Unpin for HwRebootReason
impl UnwindSafe for HwRebootReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)