Enum SlotIdentifier
#[non_exhaustive]pub enum SlotIdentifier {
Booted,
OtherSlot,
Other(String),
}Expand description
Selects the slot that Mark changes.
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.
Booted
The slot that the system booted from.
OtherSlot
Another bootable slot of the same class as the booted slot.
RAUC picks the slot. Use a slot name if the choice matters.
Other(String)
A slot name such as rootfs.1.
Implementations§
§impl SlotIdentifier
impl SlotIdentifier
Trait Implementations§
§impl AsRef<str> for SlotIdentifier
impl AsRef<str> for SlotIdentifier
§impl Clone for SlotIdentifier
impl Clone for SlotIdentifier
§fn clone(&self) -> SlotIdentifier
fn clone(&self) -> SlotIdentifier
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for SlotIdentifier
impl Debug for SlotIdentifier
§impl<'de> Deserialize<'de> for SlotIdentifier
impl<'de> Deserialize<'de> for SlotIdentifier
§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 Display for SlotIdentifier
impl Display for SlotIdentifier
impl Eq for SlotIdentifier
§impl From<&str> for SlotIdentifier
impl From<&str> for SlotIdentifier
§impl From<SlotIdentifier> for Value<'static>
impl From<SlotIdentifier> for Value<'static>
§fn from(__value: SlotIdentifier) -> Self
fn from(__value: SlotIdentifier) -> Self
Converts to this type from the input type.
§impl From<String> for SlotIdentifier
impl From<String> for SlotIdentifier
§impl FromStr for SlotIdentifier
impl FromStr for SlotIdentifier
§impl Hash for SlotIdentifier
impl Hash for SlotIdentifier
§impl PartialEq for SlotIdentifier
impl PartialEq for SlotIdentifier
§impl Serialize for SlotIdentifier
impl Serialize for SlotIdentifier
impl StructuralPartialEq for SlotIdentifier
§impl TryFrom<OwnedValue> for SlotIdentifier
impl TryFrom<OwnedValue> for SlotIdentifier
§impl<'__a> TryFrom<Value<'__a>> for SlotIdentifier
impl<'__a> TryFrom<Value<'__a>> for SlotIdentifier
§impl Type for SlotIdentifier
impl Type for SlotIdentifier
Auto Trait Implementations§
impl Freeze for SlotIdentifier
impl RefUnwindSafe for SlotIdentifier
impl Send for SlotIdentifier
impl Sync for SlotIdentifier
impl Unpin for SlotIdentifier
impl UnsafeUnpin for SlotIdentifier
impl UnwindSafe for SlotIdentifier
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>,
§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
§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.