pub enum VerificationError {
MembershipProof(String),
NonMembershipProof(String),
LookupProof(String),
HistoryProof(String),
Vrf(VrfError),
Serialization(ConversionError),
}Expand description
Proof verification error types
Variants§
MembershipProof(String)
Error verifying a membership proof
NonMembershipProof(String)
Error verifying a non-membership proof
LookupProof(String)
Error verifying a lookup proof
HistoryProof(String)
Error verifying a history proof
Vrf(VrfError)
Available on crate feature
vrf only.Error verifying a VRF proof
Serialization(ConversionError)
Available on crate feature
protobuf only.Error converting protobuf types during verification
Trait Implementations§
Source§impl Debug for VerificationError
impl Debug for VerificationError
Source§impl Display for VerificationError
impl Display for VerificationError
Source§impl From<ConversionError> for VerificationError
Available on crate feature protobuf only.
impl From<ConversionError> for VerificationError
Available on crate feature
protobuf only.Source§fn from(input: ConversionError) -> VerificationError
fn from(input: ConversionError) -> VerificationError
Converts to this type from the input type.
Source§impl From<Error> for VerificationError
Available on crate feature protobuf only.
impl From<Error> for VerificationError
Available on crate feature
protobuf only.Source§fn from(input: Error) -> VerificationError
fn from(input: Error) -> VerificationError
Converts to this type from the input type.
Source§impl From<VerificationError> for AkdError
impl From<VerificationError> for AkdError
Source§fn from(err: VerificationError) -> Self
fn from(err: VerificationError) -> Self
Converts to this type from the input type.
Source§impl From<VerificationError> for DirectoryError
impl From<VerificationError> for DirectoryError
Source§fn from(err: VerificationError) -> Self
fn from(err: VerificationError) -> Self
Converts to this type from the input type.
Source§impl From<VrfError> for VerificationError
Available on crate feature vrf only.
impl From<VrfError> for VerificationError
Available on crate feature
vrf only.Source§fn from(input: VrfError) -> VerificationError
fn from(input: VrfError) -> VerificationError
Converts to this type from the input type.
Source§impl PartialEq for VerificationError
impl PartialEq for VerificationError
impl Eq for VerificationError
impl StructuralPartialEq for VerificationError
Auto Trait Implementations§
impl Freeze for VerificationError
impl RefUnwindSafe for VerificationError
impl Send for VerificationError
impl Sync for VerificationError
impl Unpin for VerificationError
impl UnsafeUnpin for VerificationError
impl UnwindSafe for VerificationError
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