pub enum CommitmentHash {
Sha3_256,
Sha3_512,
}Expand description
The Layer-3 commitment-hash strength (#324 Q3), derived from
SecurityLevel under the v0.1 bundle but stored explicitly.
Variants§
Trait Implementations§
Source§impl Clone for CommitmentHash
impl Clone for CommitmentHash
Source§fn clone(&self) -> CommitmentHash
fn clone(&self) -> CommitmentHash
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 moreimpl Copy for CommitmentHash
Source§impl Debug for CommitmentHash
impl Debug for CommitmentHash
impl Eq for CommitmentHash
Source§impl Hash for CommitmentHash
impl Hash for CommitmentHash
Source§impl PartialEq for CommitmentHash
impl PartialEq for CommitmentHash
Source§fn eq(&self, other: &CommitmentHash) -> bool
fn eq(&self, other: &CommitmentHash) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CommitmentHash
Auto Trait Implementations§
impl Freeze for CommitmentHash
impl RefUnwindSafe for CommitmentHash
impl Send for CommitmentHash
impl Sync for CommitmentHash
impl Unpin for CommitmentHash
impl UnsafeUnpin for CommitmentHash
impl UnwindSafe for CommitmentHash
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