pub enum DirectToMxError {
Config(String),
Dns(String),
Smtp(String),
Dkim(String),
Message(String),
}Expand description
Errors returned by the direct_to_mx crate.
Variants§
Config(String)
Builder misconfiguration (missing required field, empty value).
Dns(String)
DNS resolution failure.
Smtp(String)
SMTP delivery failure.
Dkim(String)
DKIM key generation or parsing error.
Message(String)
Message construction error.
Trait Implementations§
Source§impl Debug for DirectToMxError
impl Debug for DirectToMxError
Source§impl Display for DirectToMxError
impl Display for DirectToMxError
Source§impl Error for DirectToMxError
impl Error for DirectToMxError
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 From<AddressError> for DirectToMxError
impl From<AddressError> for DirectToMxError
Source§fn from(e: AddressError) -> Self
fn from(e: AddressError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DirectToMxError
impl RefUnwindSafe for DirectToMxError
impl Send for DirectToMxError
impl Sync for DirectToMxError
impl Unpin for DirectToMxError
impl UnsafeUnpin for DirectToMxError
impl UnwindSafe for DirectToMxError
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