pub enum SmtpAuthDataError {
Incomplete,
Base64(String),
}Expand description
Errors that can occur while parsing auth data.
Variants§
Incomplete
The input carries no terminating CRLF yet.
Base64(String)
The base64 payload could not be decoded.
Trait Implementations§
Source§impl Debug for SmtpAuthDataError
impl Debug for SmtpAuthDataError
Source§impl Display for SmtpAuthDataError
impl Display for SmtpAuthDataError
Source§impl Error for SmtpAuthDataError
impl Error for SmtpAuthDataError
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()
Auto Trait Implementations§
impl Freeze for SmtpAuthDataError
impl RefUnwindSafe for SmtpAuthDataError
impl Send for SmtpAuthDataError
impl Sync for SmtpAuthDataError
impl Unpin for SmtpAuthDataError
impl UnsafeUnpin for SmtpAuthDataError
impl UnwindSafe for SmtpAuthDataError
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, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.