pub enum StartMailFailure {
TerminateSession,
Rejected,
InvalidSender,
StorageExhaustedPermanently,
StorageExhaustedTemporarily,
FailedTemporarily,
InvalidParameter,
InvalidParameterValue,
}Variants§
TerminateSession
The whole mail transaction failed, subsequent RCPT and DATA will fail
421
Rejected
550 Requested action not taken: mailbox unavailable (e.g., mailbox not found, no access, or command rejected for policy reasons)
InvalidSender
553 Requested action not taken: mailbox name not allowed (e.g., mailbox syntax incorrect)
StorageExhaustedPermanently
552 Requested mail action aborted: exceeded storage allocation
StorageExhaustedTemporarily
452 Requested action not taken: insufficient system storage
FailedTemporarily
451 Requested action aborted: local error in processing
InvalidParameter
555 MAIL FROM/RCPT TO parameters not recognized or not implemented
InvalidParameterValue
455 Server unable to accommodate parameters
Trait Implementations§
Source§impl Clone for StartMailFailure
impl Clone for StartMailFailure
Source§fn clone(&self) -> StartMailFailure
fn clone(&self) -> StartMailFailure
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StartMailFailure
impl RefUnwindSafe for StartMailFailure
impl Send for StartMailFailure
impl Sync for StartMailFailure
impl Unpin for StartMailFailure
impl UnwindSafe for StartMailFailure
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