pub enum DiProofError {
NoProof,
NotDataIntegrity,
NoDid,
VerifyFailed(String),
}Expand description
Why a Trust Task DI-proof verification failed. Callers map these onto their
own transport error types (AppError::Authentication, GateError, …).
Variants§
NoProof
The document carries no proof.
NotDataIntegrity
The proof block is not a Data-Integrity proof.
NoDid
The proof’s verificationMethod carries no DID.
VerifyFailed(String)
The signature failed to verify (carries the underlying reason).
Trait Implementations§
Source§impl Debug for DiProofError
impl Debug for DiProofError
Auto Trait Implementations§
impl Freeze for DiProofError
impl RefUnwindSafe for DiProofError
impl Send for DiProofError
impl Sync for DiProofError
impl Unpin for DiProofError
impl UnsafeUnpin for DiProofError
impl UnwindSafe for DiProofError
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