pub enum IdprovaError {
Show 20 variants
KeyGeneration(String),
Signing(String),
VerificationFailed(String),
InvalidKey(String),
InvalidAid(String),
AidValidation(String),
AidNotFound(String),
InvalidDat(String),
DatExpired,
DatNotYetValid,
DatRevoked(String),
ScopeNotPermitted(String),
ConstraintViolated(String),
InvalidDelegationChain(String),
ReceiptChainBroken(u64),
InvalidReceipt(String),
TrustVerification(String, String),
Serialization(Error),
Base64(DecodeError),
Other(String),
}Expand description
Errors that can occur in IDProva operations.
Variants§
KeyGeneration(String)
Signing(String)
VerificationFailed(String)
InvalidKey(String)
InvalidAid(String)
AidValidation(String)
AidNotFound(String)
InvalidDat(String)
DatExpired
DatNotYetValid
DatRevoked(String)
ScopeNotPermitted(String)
ConstraintViolated(String)
InvalidDelegationChain(String)
ReceiptChainBroken(u64)
InvalidReceipt(String)
TrustVerification(String, String)
Serialization(Error)
Base64(DecodeError)
Other(String)
Trait Implementations§
Source§impl Debug for IdprovaError
impl Debug for IdprovaError
Source§impl Display for IdprovaError
impl Display for IdprovaError
Source§impl Error for IdprovaError
impl Error for IdprovaError
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 From<DecodeError> for IdprovaError
impl From<DecodeError> for IdprovaError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IdprovaError
impl !RefUnwindSafe for IdprovaError
impl Send for IdprovaError
impl Sync for IdprovaError
impl Unpin for IdprovaError
impl UnsafeUnpin for IdprovaError
impl !UnwindSafe for IdprovaError
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