Enum AdaptiveMethod
#[non_exhaustive]pub enum AdaptiveMethod {
BlockHashIndex,
Other(String),
}Expand description
An adaptive update method, as in the adaptive key of an image entry.
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.
BlockHashIndex
RAUC uses a hash index of the image blocks to skip blocks that the slot already has.
Other(String)
A value that this version of the crate doesn’t know.
Implementations§
§impl AdaptiveMethod
impl AdaptiveMethod
Trait Implementations§
§impl AsRef<str> for AdaptiveMethod
impl AsRef<str> for AdaptiveMethod
§impl Clone for AdaptiveMethod
impl Clone for AdaptiveMethod
§fn clone(&self) -> AdaptiveMethod
fn clone(&self) -> AdaptiveMethod
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 AdaptiveMethod
impl Debug for AdaptiveMethod
§impl<'de> Deserialize<'de> for AdaptiveMethod
impl<'de> Deserialize<'de> for AdaptiveMethod
§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 AdaptiveMethod
impl Display for AdaptiveMethod
impl Eq for AdaptiveMethod
§impl From<&str> for AdaptiveMethod
impl From<&str> for AdaptiveMethod
§impl From<AdaptiveMethod> for Value<'static>
impl From<AdaptiveMethod> for Value<'static>
§fn from(__value: AdaptiveMethod) -> Self
fn from(__value: AdaptiveMethod) -> Self
Converts to this type from the input type.
§impl From<String> for AdaptiveMethod
impl From<String> for AdaptiveMethod
§impl FromStr for AdaptiveMethod
impl FromStr for AdaptiveMethod
§impl Hash for AdaptiveMethod
impl Hash for AdaptiveMethod
§impl PartialEq for AdaptiveMethod
impl PartialEq for AdaptiveMethod
§impl Serialize for AdaptiveMethod
impl Serialize for AdaptiveMethod
impl StructuralPartialEq for AdaptiveMethod
§impl TryFrom<OwnedValue> for AdaptiveMethod
impl TryFrom<OwnedValue> for AdaptiveMethod
§impl<'__a> TryFrom<Value<'__a>> for AdaptiveMethod
impl<'__a> TryFrom<Value<'__a>> for AdaptiveMethod
§impl Type for AdaptiveMethod
impl Type for AdaptiveMethod
Auto Trait Implementations§
impl Freeze for AdaptiveMethod
impl RefUnwindSafe for AdaptiveMethod
impl Send for AdaptiveMethod
impl Sync for AdaptiveMethod
impl Unpin for AdaptiveMethod
impl UnsafeUnpin for AdaptiveMethod
impl UnwindSafe for AdaptiveMethod
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.