pub enum MarkState {
Good,
Bad,
Active,
}Expand description
Action used to mark a slot.
Variants§
Good
Mark the slot as bootable.
Bad
Mark the slot as unbootable.
Active
Select the slot for the next boot.
Trait Implementations§
impl Copy for MarkState
Source§impl<'de> Deserialize<'de> for MarkState
impl<'de> Deserialize<'de> for MarkState
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 Eq for MarkState
impl StructuralPartialEq for MarkState
Auto Trait Implementations§
impl Forget for MarkState
impl Freeze for MarkState
impl Move for MarkState
impl RefUnwindSafe for MarkState
impl Send for MarkState
impl Sync for MarkState
impl Unpin for MarkState
impl UnsafeUnpin for MarkState
impl UnwindSafe for MarkState
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.