Enum async_mailer::OutlookMailerError
source · pub enum OutlookMailerError {
RetrieveAccessToken(OutlookAccessTokenError),
SendMailRequest(Error),
SendMailResponse(Error),
SendMailResponseBody(Error),
}Expand description
Error returned by OutlookMailer::new and OutlookMailer::send_mail.
Variants§
RetrieveAccessToken(OutlookAccessTokenError)
SendMailRequest(Error)
SendMailResponse(Error)
SendMailResponseBody(Error)
Trait Implementations§
source§impl Debug for OutlookMailerError
impl Debug for OutlookMailerError
source§impl Display for OutlookMailerError
impl Display for OutlookMailerError
source§impl Error for OutlookMailerError
impl Error for OutlookMailerError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<OutlookAccessTokenError> for OutlookMailerError
impl From<OutlookAccessTokenError> for OutlookMailerError
source§fn from(source: OutlookAccessTokenError) -> OutlookMailerError
fn from(source: OutlookAccessTokenError) -> OutlookMailerError
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for OutlookMailerError
impl Send for OutlookMailerError
impl Sync for OutlookMailerError
impl Unpin for OutlookMailerError
impl !UnwindSafe for OutlookMailerError
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