pub enum AddRecipientResult {
    Inconclusive(Recipient),
    Failed(AddRecipientFailureString),
    AcceptedWithNewPath(SmtpPath),
    Accepted,
}

Variants

Inconclusive(Recipient)

Failed(AddRecipientFailureString)

Failed with description that should include the ID, see AddRecipientFailure

AcceptedWithNewPath(SmtpPath)

251 User not local; will forward to

Accepted

250 Requested mail action okay, completed

Trait Implementations

Formats the value using the given formatter. Read more

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

Performs the conversion.

Performs the conversion.

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.