pub enum DKIMError {
Show 26 variants
UnsupportedHashAlgorithm(String),
UnsupportedCanonicalizationType(String),
SignatureSyntaxError(String),
SignatureMissingRequiredTag(&'static str),
IncompatibleVersion,
DomainMismatch,
FromFieldNotSigned,
SignatureExpired,
UnacceptableSignatureHeader,
UnsupportedQueryMethod,
KeyUnavailable(String),
UnknownInternalError(String),
NoKeyForSignature,
KeySyntaxError,
KeyIncompatibleVersion,
InappropriateKeyAlgorithm,
SignatureDidNotVerify,
BodyHashDidNotVerify,
MalformedBody,
FailedToSign(String),
BuilderError(&'static str),
HeaderSerializeError(String),
PrivateKeyLoadError(String),
MailParsingError(MailParsingError),
CanonicalLineEndingsRequired,
Dns(DnsError),
}
Expand description
DKIM errors
Variants§
UnsupportedHashAlgorithm(String)
UnsupportedCanonicalizationType(String)
SignatureSyntaxError(String)
SignatureMissingRequiredTag(&'static str)
IncompatibleVersion
DomainMismatch
FromFieldNotSigned
SignatureExpired
UnacceptableSignatureHeader
UnsupportedQueryMethod
UnknownInternalError(String)
NoKeyForSignature
KeySyntaxError
KeyIncompatibleVersion
InappropriateKeyAlgorithm
SignatureDidNotVerify
BodyHashDidNotVerify
MalformedBody
FailedToSign(String)
BuilderError(&'static str)
HeaderSerializeError(String)
PrivateKeyLoadError(String)
MailParsingError(MailParsingError)
CanonicalLineEndingsRequired
Dns(DnsError)
Implementations§
Trait Implementations§
source§impl Error for DKIMError
impl Error for DKIMError
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<MailParsingError> for DKIMError
impl From<MailParsingError> for DKIMError
source§fn from(source: MailParsingError) -> Self
fn from(source: MailParsingError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for DKIMError
Auto Trait Implementations§
impl Freeze for DKIMError
impl RefUnwindSafe for DKIMError
impl Send for DKIMError
impl Sync for DKIMError
impl Unpin for DKIMError
impl UnwindSafe for DKIMError
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)