#[repr(u8)]pub enum ResetSrc {
None = 0,
Atom = 1,
Meteor = 2,
Cube = 3,
}Expand description
Persisted in GlobalConfig via CBOR. New variants may be appended with the
next free #[n(N)] tag without a migration. Removing a variant
requires a one-shot FRAM migration (see storage::migrate_fram).
Variants§
Trait Implementations§
impl Copy for ResetSrc
Source§impl<'de> Deserialize<'de> for ResetSrc
impl<'de> Deserialize<'de> for ResetSrc
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ResetSrc
Auto Trait Implementations§
impl Freeze for ResetSrc
impl RefUnwindSafe for ResetSrc
impl Send for ResetSrc
impl Sync for ResetSrc
impl Unpin for ResetSrc
impl UnsafeUnpin for ResetSrc
impl UnwindSafe for ResetSrc
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