pub enum Error {
Show 25 variants
ParseError,
MissingParameters,
NoHeadersFound,
CryptoError(String),
Io(String),
Base64,
UnsupportedVersion,
UnsupportedAlgorithm,
UnsupportedCanonicalization,
UnsupportedKeyType,
FailedBodyHashMatch,
FailedVerification,
FailedAuidMatch,
RevokedPublicKey,
IncompatibleAlgorithms,
SignatureExpired,
DnsError(String),
DnsRecordNotFound(ResponseCode),
ArcChainTooLong,
ArcInvalidInstance(u32),
ArcInvalidCV,
ArcHasHeaderTag,
ArcBrokenChain,
NotAligned,
InvalidRecordType,
}Variants§
ParseError
MissingParameters
NoHeadersFound
CryptoError(String)
Io(String)
Base64
UnsupportedVersion
UnsupportedAlgorithm
UnsupportedCanonicalization
UnsupportedKeyType
FailedBodyHashMatch
FailedVerification
FailedAuidMatch
RevokedPublicKey
IncompatibleAlgorithms
SignatureExpired
DnsError(String)
DnsRecordNotFound(ResponseCode)
ArcChainTooLong
ArcInvalidInstance(u32)
ArcInvalidCV
ArcHasHeaderTag
ArcBrokenChain
NotAligned
InvalidRecordType
Trait Implementations§
source§impl AsAuthResult for Error
impl AsAuthResult for Error
fn as_auth_result(&self, header: &mut String)
source§impl From<Error> for DkimResult
impl From<Error> for DkimResult
source§impl From<Error> for DmarcResult
impl From<Error> for DmarcResult
source§impl From<Error> for IprevResult
impl From<Error> for IprevResult
source§impl From<ProtoError> for Error
impl From<ProtoError> for Error
source§fn from(err: ProtoError) -> Self
fn from(err: ProtoError) -> Self
Converts to this type from the input type.
source§impl From<ResolveError> for Error
impl From<ResolveError> for Error
source§fn from(err: ResolveError) -> Self
fn from(err: ResolveError) -> Self
Converts to this type from the input type.
source§impl PartialEq for Error
impl PartialEq for Error
impl Eq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations§
impl Freeze for Error
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
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