pub enum RangeProofs<G: AffineRepr> {
Bpp(Proof<G>),
}Expand description
A collection of range proofs supplementing the proof of equality
Variants§
Trait Implementations§
Source§impl<G: AffineRepr> CanonicalDeserialize for RangeProofs<G>
impl<G: AffineRepr> CanonicalDeserialize for RangeProofs<G>
Source§fn deserialize_with_mode<R: Read>(
reader: R,
compress: Compress,
validate: Validate,
) -> Result<Self, SerializationError>
fn deserialize_with_mode<R: Read>( reader: R, compress: Compress, validate: Validate, ) -> Result<Self, SerializationError>
The general deserialize method that takes in customization flags.
fn deserialize_compressed<R>(reader: R) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_compressed_unchecked<R>(
reader: R,
) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_uncompressed<R>(reader: R) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_uncompressed_unchecked<R>(
reader: R,
) -> Result<Self, SerializationError>where
R: Read,
Source§impl<G: AffineRepr> CanonicalSerialize for RangeProofs<G>
impl<G: AffineRepr> CanonicalSerialize for RangeProofs<G>
Source§fn serialize_with_mode<W: Write>(
&self,
writer: W,
compress: Compress,
) -> Result<(), SerializationError>
fn serialize_with_mode<W: Write>( &self, writer: W, compress: Compress, ) -> Result<(), SerializationError>
The general serialize method that takes in customization flags.
fn serialized_size(&self, compress: Compress) -> usize
fn serialize_compressed<W>(&self, writer: W) -> Result<(), SerializationError>where
W: Write,
fn compressed_size(&self) -> usize
fn serialize_uncompressed<W>(&self, writer: W) -> Result<(), SerializationError>where
W: Write,
fn uncompressed_size(&self) -> usize
Source§impl<G: Clone + AffineRepr> Clone for RangeProofs<G>
impl<G: Clone + AffineRepr> Clone for RangeProofs<G>
Source§fn clone(&self) -> RangeProofs<G>
fn clone(&self) -> RangeProofs<G>
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 moreSource§impl<G: Debug + AffineRepr> Debug for RangeProofs<G>
impl<G: Debug + AffineRepr> Debug for RangeProofs<G>
impl<G: Eq + AffineRepr> Eq for RangeProofs<G>
Source§impl<G: PartialEq + AffineRepr> PartialEq for RangeProofs<G>
impl<G: PartialEq + AffineRepr> PartialEq for RangeProofs<G>
Source§fn eq(&self, other: &RangeProofs<G>) -> bool
fn eq(&self, other: &RangeProofs<G>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<G: AffineRepr> StructuralPartialEq for RangeProofs<G>
Source§impl<G: AffineRepr> Valid for RangeProofs<G>
impl<G: AffineRepr> Valid for RangeProofs<G>
fn check(&self) -> Result<(), SerializationError>
fn batch_check<'a>(
batch: impl Iterator<Item = &'a Self> + Send,
) -> Result<(), SerializationError>where
Self: 'a,
Auto Trait Implementations§
impl<G> Freeze for RangeProofs<G>where
G: Freeze,
impl<G> RefUnwindSafe for RangeProofs<G>
impl<G> Send for RangeProofs<G>
impl<G> Sync for RangeProofs<G>
impl<G> Unpin for RangeProofs<G>
impl<G> UnsafeUnpin for RangeProofs<G>where
G: UnsafeUnpin,
impl<G> UnwindSafe for RangeProofs<G>
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