pub enum CommitStep {
Serialized(TypeFqn),
Collection(CommitColType, Sizing, TypeFqn),
Hashed(TypeFqn),
Merklized(TypeFqn),
Concealed {
src: TypeFqn,
dst: TypeFqn,
},
}Expand description
Step of the commitment id creation.
Variants§
Serialized(TypeFqn)
Serialization with CommitEngine::commit_to_serialized.
Collection(CommitColType, Sizing, TypeFqn)
Serialization with either
CommitEngine::commit_to_linear_list,CommitEngine::commit_to_linear_set,CommitEngine::commit_to_linear_map.
A specific type of serialization depends on the first field
(CommitColType).
Hashed(TypeFqn)
Serialization with CommitEngine::commit_to_hash.
Merklized(TypeFqn)
Serialization with CommitEngine::commit_to_merkle.
Concealed
Serialization with CommitEngine::commit_to_concealed.
Trait Implementations§
Source§impl Clone for CommitStep
impl Clone for CommitStep
Source§fn clone(&self) -> CommitStep
fn clone(&self) -> CommitStep
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommitStep
impl Debug for CommitStep
Source§impl Hash for CommitStep
impl Hash for CommitStep
Source§impl PartialEq for CommitStep
impl PartialEq for CommitStep
impl Eq for CommitStep
impl StructuralPartialEq for CommitStep
Auto Trait Implementations§
impl Freeze for CommitStep
impl RefUnwindSafe for CommitStep
impl Send for CommitStep
impl Sync for CommitStep
impl Unpin for CommitStep
impl UnwindSafe for CommitStep
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.