pub struct CompactMerkleizedBatch<F: Family, D: Digest, V: ValueEncoding, S: Strategy>where
Operation<F, V>: EncodeShared,{ /* private fields */ }Expand description
A speculative batch whose root digest has been computed.
Implementations§
Source§impl<F: Family, D: Digest, V: ValueEncoding, S: Strategy> MerkleizedBatch<F, D, V, S>where
Operation<F, V>: EncodeShared,
impl<F: Family, D: Digest, V: ValueEncoding, S: Strategy> MerkleizedBatch<F, D, V, S>where
Operation<F, V>: EncodeShared,
Sourcepub fn new_batch<H>(self: &Arc<Self>) -> UnmerkleizedBatch<F, H, V, S>where
H: Hasher<Digest = D>,
pub fn new_batch<H>(self: &Arc<Self>) -> UnmerkleizedBatch<F, H, V, S>where
H: Hasher<Digest = D>,
Create a new speculative batch with this one as its parent.
Trait Implementations§
Source§impl<F: Clone + Family, D: Clone + Digest, V: Clone + ValueEncoding, S: Clone + Strategy> Clone for MerkleizedBatch<F, D, V, S>
impl<F: Clone + Family, D: Clone + Digest, V: Clone + ValueEncoding, S: Clone + Strategy> Clone for MerkleizedBatch<F, D, V, S>
Source§fn clone(&self) -> MerkleizedBatch<F, D, V, S>
fn clone(&self) -> MerkleizedBatch<F, D, V, S>
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<F, D, V, S> Freeze for MerkleizedBatch<F, D, V, S>
impl<F, D, V, S> RefUnwindSafe for MerkleizedBatch<F, D, V, S>where
D: RefUnwindSafe,
<V as ValueEncoding>::Value: RefUnwindSafe,
F: RefUnwindSafe,
S: RefUnwindSafe,
impl<F, D, V, S> Send for MerkleizedBatch<F, D, V, S>
impl<F, D, V, S> Sync for MerkleizedBatch<F, D, V, S>
impl<F, D, V, S> Unpin for MerkleizedBatch<F, D, V, S>
impl<F, D, V, S> UnsafeUnpin for MerkleizedBatch<F, D, V, S>
impl<F, D, V, S> UnwindSafe for MerkleizedBatch<F, D, V, S>where
D: UnwindSafe + RefUnwindSafe,
<V as ValueEncoding>::Value: UnwindSafe + RefUnwindSafe,
S: RefUnwindSafe,
F: UnwindSafe + RefUnwindSafe,
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<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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