pub enum OrlError {
UnsupportedVersion,
Truncated,
Expired,
FutureDated,
BadLength,
BadKind,
BadSignature,
BadPublicKey,
CapacityExceeded,
KeyTooLarge,
}Expand description
Errors from OfflineRevocationListChecker::new.
Variants§
UnsupportedVersion
version byte is not 1.
Truncated
Buffer ended before all expected bytes were read.
Expired
valid_until < now (lexical compare on ISO-8601).
FutureDated
issued_at > now.
BadLength
Length prefix exceeded the remaining buffer.
BadKind
kind byte was not in 1..=5.
BadSignature
Signature failed to verify.
BadPublicKey
Public key failed to parse.
CapacityExceeded
No-alloc capacity overflow.
KeyTooLarge
Index key (kind:id) exceeded the no_alloc cap.
Trait Implementations§
impl Copy for OrlError
impl Eq for OrlError
impl StructuralPartialEq for OrlError
Auto Trait Implementations§
impl Freeze for OrlError
impl RefUnwindSafe for OrlError
impl Send for OrlError
impl Sync for OrlError
impl Unpin for OrlError
impl UnsafeUnpin for OrlError
impl UnwindSafe for OrlError
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