pub enum SubsetProofError {
Missing,
Invalid,
}Expand description
Why ensure_subset_proof rejected a proof.
Variants§
Missing
No subset proof was supplied where one is required.
Invalid
The subset proof is structurally invalid or does not attest this pair.
Trait Implementations§
Source§impl Clone for SubsetProofError
impl Clone for SubsetProofError
Source§fn clone(&self) -> SubsetProofError
fn clone(&self) -> SubsetProofError
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 Debug for SubsetProofError
impl Debug for SubsetProofError
Source§impl Display for SubsetProofError
impl Display for SubsetProofError
impl Eq for SubsetProofError
Source§impl Error for SubsetProofError
impl Error for SubsetProofError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 for SubsetProofError
impl PartialEq for SubsetProofError
Source§fn eq(&self, other: &SubsetProofError) -> bool
fn eq(&self, other: &SubsetProofError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SubsetProofError
Auto Trait Implementations§
impl Freeze for SubsetProofError
impl RefUnwindSafe for SubsetProofError
impl Send for SubsetProofError
impl Sync for SubsetProofError
impl Unpin for SubsetProofError
impl UnsafeUnpin for SubsetProofError
impl UnwindSafe for SubsetProofError
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