Struct commit_verify::PrehashedProtocol
source · [−]pub struct PrehashedProtocol;Expand description
Protocol defining commits created by using externally created hash value *optionally pretagged).
Trait Implementations
sourceimpl<M> CommitVerify<M, PrehashedProtocol> for CommitmentHash where
M: AsRef<[u8]>,
impl<M> CommitVerify<M, PrehashedProtocol> for CommitmentHash where
M: AsRef<[u8]>,
sourceimpl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hash where
Msg: AsRef<[u8]>,
impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hash where
Msg: AsRef<[u8]>,
sourceimpl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hash where
Msg: AsRef<[u8]>,
impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hash where
Msg: AsRef<[u8]>,
sourceimpl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hash where
Msg: AsRef<[u8]>,
impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hash where
Msg: AsRef<[u8]>,
sourceimpl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hash where
Msg: AsRef<[u8]>,
impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hash where
Msg: AsRef<[u8]>,
sourceimpl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hash where
Msg: AsRef<[u8]>,
impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hash where
Msg: AsRef<[u8]>,
sourceimpl<Msg, T> CommitVerify<Msg, PrehashedProtocol> for Hash<T> where
Msg: AsRef<[u8]>,
T: Tag,
impl<Msg, T> CommitVerify<Msg, PrehashedProtocol> for Hash<T> where
Msg: AsRef<[u8]>,
T: Tag,
sourceimpl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hash where
Msg: AsRef<[u8]>,
impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hash where
Msg: AsRef<[u8]>,
sourceimpl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hash where
Msg: AsRef<[u8]>,
impl<Msg> CommitVerify<Msg, PrehashedProtocol> for Hash where
Msg: AsRef<[u8]>,
sourceimpl<Msg> CommitVerify<Msg, PrehashedProtocol> for MerkleNode where
Msg: AsRef<[u8]>,
impl<Msg> CommitVerify<Msg, PrehashedProtocol> for MerkleNode where
Msg: AsRef<[u8]>,
sourceimpl CommitmentProtocol for PrehashedProtocol
impl CommitmentProtocol for PrehashedProtocol
sourceconst HASH_TAG_MIDSTATE: Option<Midstate> = None
const HASH_TAG_MIDSTATE: Option<Midstate> = None
Midstate for the protocol-specific tagged hash.
sourceimpl TryCommitVerify<MultiSource, PrehashedProtocol> for MerkleTree
impl TryCommitVerify<MultiSource, PrehashedProtocol> for MerkleTree
type Error = Error
type Error = Error
Error type that may be reported during TryCommitVerify::try_commit
and TryCommitVerify::try_verify procedures Read more
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for PrehashedProtocol
impl Send for PrehashedProtocol
impl Sync for PrehashedProtocol
impl Unpin for PrehashedProtocol
impl UnwindSafe for PrehashedProtocol
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more