Enum rgbstd::contract::RangeProofError
source · pub enum RangeProofError {
InvalidBlinding(BlindingFactor),
BulletproofsAbsent,
}Expand description
Errors verifying range proofs.
Variants§
InvalidBlinding(BlindingFactor)
invalid blinding factor {0}.
BulletproofsAbsent
bulletproofs verification is not implemented in RGB Core v0.10. Please update your software and try again, or ask your software producer to use latest RGB release.
Trait Implementations§
source§impl Clone for RangeProofError
impl Clone for RangeProofError
source§fn clone(&self) -> RangeProofError
fn clone(&self) -> RangeProofError
Returns a copy 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 Debug for RangeProofError
impl Debug for RangeProofError
source§impl Display for RangeProofError
impl Display for RangeProofError
source§impl Error for RangeProofError
impl Error for RangeProofError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<RangeProofError> for RangeProofError
impl PartialEq<RangeProofError> for RangeProofError
source§fn eq(&self, other: &RangeProofError) -> bool
fn eq(&self, other: &RangeProofError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for RangeProofError
impl Eq for RangeProofError
impl StructuralEq for RangeProofError
impl StructuralPartialEq for RangeProofError
Auto Trait Implementations§
impl RefUnwindSafe for RangeProofError
impl Send for RangeProofError
impl Sync for RangeProofError
impl Unpin for RangeProofError
impl UnwindSafe for RangeProofError
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.