Enum mailin::RcptResult
source · pub enum RcptResult {
Ok,
NoMailbox,
NoStorage,
BadMailbox,
InternalError,
OutOfSpace,
NoService,
}
Expand description
RcptResult
is the result of an smtp RCPT command
Variants
Ok
Recipient is valid
NoMailbox
No mailbox with the given name exists
NoStorage
The mailbox exceeded storage allocation
BadMailbox
The Mailbox name not allowed
InternalError
Internal server error
OutOfSpace
System out of space
NoService
Trait Implementations
sourceimpl From<RcptResult> for Response
impl From<RcptResult> for Response
sourcefn from(v: RcptResult) -> Response
fn from(v: RcptResult) -> Response
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for RcptResult
impl Send for RcptResult
impl Sync for RcptResult
impl Unpin for RcptResult
impl UnwindSafe for RcptResult
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