Enum SlotType
#[non_exhaustive]pub enum SlotType {
Raw,
Nand,
Nor,
UbiVolume,
Ubifs,
Ext4,
Vfat,
BootEmmc,
BootMbrSwitch,
BootGptSwitch,
BootRawFallback,
Other(String),
}Expand description
The type of a slot, as in the type key of the slot status.
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.
Raw
Raw binary data.
Nand
A NAND flash device.
Nor
A NOR flash device.
Added in RAUC 1.6.
UbiVolume
A UBI volume.
Ubifs
A UBIFS file system.
Ext4
An ext4 file system.
Vfat
A VFAT file system.
BootEmmc
A bootloader in the eMMC boot partitions.
BootMbrSwitch
A bootloader that switches between partitions in an MBR.
Added in RAUC 1.2.
BootGptSwitch
A bootloader that switches between partitions in a GPT.
Added in RAUC 1.4.
BootRawFallback
A bootloader with a fallback copy on a raw device.
Added in RAUC 1.8.
Other(String)
A value that this version of the crate doesn’t know.
Implementations§
Trait Implementations§
§impl<'de> Deserialize<'de> for SlotType
impl<'de> Deserialize<'de> for SlotType
§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 SlotType
impl StructuralPartialEq for SlotType
Auto Trait Implementations§
impl Freeze for SlotType
impl RefUnwindSafe for SlotType
impl Send for SlotType
impl Sync for SlotType
impl Unpin for SlotType
impl UnsafeUnpin for SlotType
impl UnwindSafe for SlotType
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.