pub struct TranscriptMerkleCommitment<Digest> {
pub commitment: Commitment<Digest>,
pub leaf_size: usize,
}Expand description
A Merkle commitment received over a transcript channel.
Fields§
§commitment: Commitment<Digest>The commitment root and tree depth.
leaf_size: usizeThe number of F elements in each leaf.
Trait Implementations§
Source§impl<Digest: Clone> Clone for TranscriptMerkleCommitment<Digest>
impl<Digest: Clone> Clone for TranscriptMerkleCommitment<Digest>
Source§fn clone(&self) -> TranscriptMerkleCommitment<Digest>
fn clone(&self) -> TranscriptMerkleCommitment<Digest>
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 moreAuto Trait Implementations§
impl<Digest> Freeze for TranscriptMerkleCommitment<Digest>where
Digest: Freeze,
impl<Digest> RefUnwindSafe for TranscriptMerkleCommitment<Digest>where
Digest: RefUnwindSafe,
impl<Digest> Send for TranscriptMerkleCommitment<Digest>where
Digest: Send,
impl<Digest> Sync for TranscriptMerkleCommitment<Digest>where
Digest: Sync,
impl<Digest> Unpin for TranscriptMerkleCommitment<Digest>where
Digest: Unpin,
impl<Digest> UnsafeUnpin for TranscriptMerkleCommitment<Digest>where
Digest: UnsafeUnpin,
impl<Digest> UnwindSafe for TranscriptMerkleCommitment<Digest>where
Digest: UnwindSafe,
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more