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

Service not available, closing transmission channel

Trait Implementations

Converts to this type from the input type.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.