Enum mailin::MailResult
source · pub enum MailResult {
Ok,
NoService,
InternalError,
OutOfSpace,
AuthRequired,
NoStorage,
}
Expand description
MailResult
is the result of an smtp MAIL command
Variants
Ok
Mail command successful
NoService
Service not available, closing transmission channel
InternalError
Requested action aborted: local error in processing
OutOfSpace
Requested action not taken: insufficient system storage
AuthRequired
Authentication required
NoStorage
Exceeded storage allocation
Trait Implementations
sourceimpl From<MailResult> for Response
impl From<MailResult> for Response
sourcefn from(v: MailResult) -> Response
fn from(v: MailResult) -> Response
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for MailResult
impl Send for MailResult
impl Sync for MailResult
impl Unpin for MailResult
impl UnwindSafe for MailResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more