#[non_exhaustive]pub enum XandHash {
V1(V1XandHash),
}Expand description
Standard target type for WasmBlob hashing.
Versioning allows future hashed types to be added while not breaking existing code.
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.
V1(V1XandHash)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for XandHash
impl<'de> Deserialize<'de> for XandHash
Source§fn deserialize<D>(
deserializer: D,
) -> Result<Self, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<Self, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for XandHash
impl Serialize for XandHash
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for XandHash
impl StructuralPartialEq for XandHash
Auto Trait Implementations§
impl Freeze for XandHash
impl RefUnwindSafe for XandHash
impl Send for XandHash
impl Sync for XandHash
impl Unpin for XandHash
impl UnwindSafe for XandHash
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