pub enum DkimError {
Empty,
InvalidValue,
UnknownLabel,
}Expand description
Error returned when DKIM metadata is invalid.
Variants§
Empty
The supplied value was empty.
InvalidValue
The supplied value was invalid for this primitive.
UnknownLabel
The supplied label was not recognized.
Trait Implementations§
Source§impl Error for DkimError
impl Error for DkimError
1.30.0 · 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 Ord for DkimError
impl Ord for DkimError
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for DkimError
impl PartialOrd for DkimError
impl Copy for DkimError
impl Eq for DkimError
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 UnsafeUnpin 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