Struct commit_verify::UntaggedProtocol
source · pub struct UntaggedProtocol;
Expand description
Protocol defining commits created by using externally created hash value *optionally pretagged).
Trait Implementations§
source§impl TryCommitVerify<MultiSource, UntaggedProtocol> for MerkleTree
impl TryCommitVerify<MultiSource, UntaggedProtocol> for MerkleTree
§type Error = Error
type Error = Error
Error type that may be reported during
TryCommitVerify::try_commit
and TryCommitVerify::try_verify
proceduressource§fn try_commit(source: &MultiSource) -> Result<Self, Error>
fn try_commit(source: &MultiSource) -> Result<Self, Error>
Tries to create commitment to a byte representation of a given message
impl CommitmentProtocol for UntaggedProtocol
Auto Trait Implementations§
impl RefUnwindSafe for UntaggedProtocol
impl Send for UntaggedProtocol
impl Sync for UntaggedProtocol
impl Unpin for UntaggedProtocol
impl UnwindSafe for UntaggedProtocol
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