#[non_exhaustive]pub enum ChangeEvent {
OsReinstall,
BoardReplacement,
NicReplacement,
CpuUpgrade,
VmRecreated,
ContainerRecreated,
AdminReset,
}Available on crate feature
device-id only.Expand description
What would change an id.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
OsReinstall
The OS is reinstalled.
BoardReplacement
The main board is replaced.
NicReplacement
The network card is replaced.
CpuUpgrade
The CPU is upgraded.
VmRecreated
The VM is created again.
ContainerRecreated
The container is created again.
AdminReset
An administrator sets a new value.
Trait Implementations§
Source§impl Clone for ChangeEvent
impl Clone for ChangeEvent
impl Copy for ChangeEvent
Source§impl Debug for ChangeEvent
impl Debug for ChangeEvent
impl Eq for ChangeEvent
Source§impl Hash for ChangeEvent
impl Hash for ChangeEvent
Source§impl PartialEq for ChangeEvent
impl PartialEq for ChangeEvent
impl StructuralPartialEq for ChangeEvent
Auto Trait Implementations§
impl Forget for ChangeEvent
impl Freeze for ChangeEvent
impl RefUnwindSafe for ChangeEvent
impl Send for ChangeEvent
impl Sync for ChangeEvent
impl Unpin for ChangeEvent
impl UnsafeUnpin for ChangeEvent
impl UnwindSafe for ChangeEvent
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