#[non_exhaustive]pub enum HashValue {
Sha256([u8; 32]),
}
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.
Implementations§
Trait Implementations§
Source§impl<'_enum> From<&'_enum HashValue> for HashValueDiscriminants
impl<'_enum> From<&'_enum HashValue> for HashValueDiscriminants
Source§fn from(val: &'_enum HashValue) -> HashValueDiscriminants
fn from(val: &'_enum HashValue) -> HashValueDiscriminants
Converts to this type from the input type.
Source§impl From<HashValue> for HashValueDiscriminants
impl From<HashValue> for HashValueDiscriminants
Source§fn from(val: HashValue) -> HashValueDiscriminants
fn from(val: HashValue) -> HashValueDiscriminants
Converts to this type from the input type.
impl Copy for HashValue
impl Eq for HashValue
impl StructuralPartialEq for HashValue
Auto Trait Implementations§
impl Freeze for HashValue
impl RefUnwindSafe for HashValue
impl Send for HashValue
impl Sync for HashValue
impl Unpin for HashValue
impl UnwindSafe for HashValue
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