pub struct RawKeyValueProof<D: Digest, K: QmdbKey + Codec, V: Codec + Clone + Send + Sync, const N: usize> {
pub watermark: Location,
pub root: D,
pub location: Location,
pub chunk: [u8; N],
pub range_proof: RawCurrentRangeProof<D>,
pub operation: Operation<K, V>,
}Expand description
Stable mirror of the current ordered key-value proof payload.
Fields§
§watermark: Location§root: D§location: Location§chunk: [u8; N]§range_proof: RawCurrentRangeProof<D>§operation: Operation<K, V>Implementations§
Trait Implementations§
Source§impl<D: Clone + Digest, K: Clone + QmdbKey + Codec, V: Clone + Codec + Clone + Send + Sync, const N: usize> Clone for RawKeyValueProof<D, K, V, N>
impl<D: Clone + Digest, K: Clone + QmdbKey + Codec, V: Clone + Codec + Clone + Send + Sync, const N: usize> Clone for RawKeyValueProof<D, K, V, N>
Source§fn clone(&self) -> RawKeyValueProof<D, K, V, N>
fn clone(&self) -> RawKeyValueProof<D, K, V, N>
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<D: Debug + Digest, K: Debug + QmdbKey + Codec, V: Debug + Codec + Clone + Send + Sync, const N: usize> Debug for RawKeyValueProof<D, K, V, N>
impl<D: Debug + Digest, K: Debug + QmdbKey + Codec, V: Debug + Codec + Clone + Send + Sync, const N: usize> Debug for RawKeyValueProof<D, K, V, N>
Source§impl<D: PartialEq + Digest, K: PartialEq + QmdbKey + Codec, V: PartialEq + Codec + Clone + Send + Sync, const N: usize> PartialEq for RawKeyValueProof<D, K, V, N>
impl<D: PartialEq + Digest, K: PartialEq + QmdbKey + Codec, V: PartialEq + Codec + Clone + Send + Sync, const N: usize> PartialEq for RawKeyValueProof<D, K, V, N>
Source§fn eq(&self, other: &RawKeyValueProof<D, K, V, N>) -> bool
fn eq(&self, other: &RawKeyValueProof<D, K, V, N>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<D: Digest, K: QmdbKey + Codec, V: Codec + Clone + Send + Sync, const N: usize> StructuralPartialEq for RawKeyValueProof<D, K, V, N>
Auto Trait Implementations§
impl<D, K, V, const N: usize> Freeze for RawKeyValueProof<D, K, V, N>
impl<D, K, V, const N: usize> RefUnwindSafe for RawKeyValueProof<D, K, V, N>
impl<D, K, V, const N: usize> Send for RawKeyValueProof<D, K, V, N>
impl<D, K, V, const N: usize> Sync for RawKeyValueProof<D, K, V, N>
impl<D, K, V, const N: usize> Unpin for RawKeyValueProof<D, K, V, N>
impl<D, K, V, const N: usize> UnsafeUnpin for RawKeyValueProof<D, K, V, N>
impl<D, K, V, const N: usize> UnwindSafe for RawKeyValueProof<D, K, V, N>
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