pub enum ProofBundleKind {
Key,
MultiKey,
Range,
RangePage,
DiffPage,
}Expand description
Canonical proof bundle family.
Variants§
Key
Bundle created by KeyProof::to_bundle_bytes.
MultiKey
Bundle created by MultiKeyProof::to_bundle_bytes.
Range
Bundle created by RangeProof::to_bundle_bytes.
RangePage
Bundle created by RangePageProof::to_bundle_bytes.
DiffPage
Bundle created by DiffPageProof::to_bundle_bytes.
Implementations§
Trait Implementations§
Source§impl Clone for ProofBundleKind
impl Clone for ProofBundleKind
Source§fn clone(&self) -> ProofBundleKind
fn clone(&self) -> ProofBundleKind
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 moreimpl Copy for ProofBundleKind
Source§impl Debug for ProofBundleKind
impl Debug for ProofBundleKind
impl Eq for ProofBundleKind
Source§impl PartialEq for ProofBundleKind
impl PartialEq for ProofBundleKind
impl StructuralPartialEq for ProofBundleKind
Auto Trait Implementations§
impl Freeze for ProofBundleKind
impl RefUnwindSafe for ProofBundleKind
impl Send for ProofBundleKind
impl Sync for ProofBundleKind
impl Unpin for ProofBundleKind
impl UnsafeUnpin for ProofBundleKind
impl UnwindSafe for ProofBundleKind
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> 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