pub enum StatusCodes {
Show 26 variants
HelpMessage = 214,
SMTPServiceReady = 220,
ServiceClosingTransmissionChannel = 221,
AuthenticationSuccessful = 235,
OK = 250,
UserNotLocalWillForward = 251,
CannotVerifyUserButWillAcceptMessageAndAttemptDelivery = 252,
StartMailInput = 354,
ServiceNotAvailable = 421,
RequestedMailActionNotTakenMailboxUnavailable = 450,
RequestedActionAbortedLocalErrorInProcessing = 451,
InsufficientSystemStorage = 452,
ServerUnableToAccommodateParameters = 455,
SyntaxError = 500,
SyntaxErrorInParametersOrArguments = 501,
CommandNotImplemented = 502,
BadSequenceOfCommands = 503,
CommandParameterNotImplemented = 504,
ServerDoesNotAcceptMail = 521,
AuthenticationCredetialsInvalid = 535,
RecipientAddressRejected = 541,
RequestedActionNotTakenMailboxUnavailable = 550,
UserNotLocalTryForwarding = 551,
ExceededStorageAllocation = 552,
MailboxNameNotAllowed = 553,
TransactionFailed = 554,
}Expand description
Variants§
HelpMessage = 214
§Help Message
SMTPServiceReady = 220
§SMTP Service Ready
ServiceClosingTransmissionChannel = 221
§Service Closing Transmission Channel
AuthenticationSuccessful = 235
§Authentication Successful
OK = 250
§OK
UserNotLocalWillForward = 251
§User Not Local Will Forward
CannotVerifyUserButWillAcceptMessageAndAttemptDelivery = 252
§Cannot Verify User But Will Accept Message And Attempt Delivery
StartMailInput = 354
§Start Mail Input
ServiceNotAvailable = 421
§Service Not Available
§Requested Mail Action Not Taken: Mailbox Unavailable
RequestedActionAbortedLocalErrorInProcessing = 451
§Requested Action Aborted: Local Error In Processing
InsufficientSystemStorage = 452
§Insufficient System Storage
ServerUnableToAccommodateParameters = 455
§Server Unable To Accommodate Parameters
SyntaxError = 500
§Syntax Error
SyntaxErrorInParametersOrArguments = 501
§Syntax Error In Parameters Or Arguments
CommandNotImplemented = 502
§Command Not Implemented
BadSequenceOfCommands = 503
§Bad Sequence Of Commands
CommandParameterNotImplemented = 504
§Command Parameter Not Implemented
ServerDoesNotAcceptMail = 521
§Server Does Not Accept Mail
AuthenticationCredetialsInvalid = 535
§Authentication Credetials Invalid
RecipientAddressRejected = 541
§Recipient Address Rejected
§Requested Action Not Taken: Mailbox Unavailable
UserNotLocalTryForwarding = 551
§User Not Local: Try Forwarding
ExceededStorageAllocation = 552
§Exceeded Storage Allocation
MailboxNameNotAllowed = 553
§Mailbox Name Not Allowed
TransactionFailed = 554
§Transaction Failed
Implementations§
Trait Implementations§
Source§impl Clone for StatusCodes
impl Clone for StatusCodes
Source§fn clone(&self) -> StatusCodes
fn clone(&self) -> StatusCodes
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 moreSource§impl Debug for StatusCodes
impl Debug for StatusCodes
Source§impl<'de> Deserialize<'de> for StatusCodes
impl<'de> Deserialize<'de> for StatusCodes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for StatusCodes
impl Hash for StatusCodes
Source§impl Ord for StatusCodes
impl Ord for StatusCodes
Source§fn cmp(&self, other: &StatusCodes) -> Ordering
fn cmp(&self, other: &StatusCodes) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StatusCodes
impl PartialEq for StatusCodes
Source§impl PartialOrd for StatusCodes
impl PartialOrd for StatusCodes
Source§impl Serialize for StatusCodes
impl Serialize for StatusCodes
impl Eq for StatusCodes
impl StructuralPartialEq for StatusCodes
Auto Trait Implementations§
impl Freeze for StatusCodes
impl RefUnwindSafe for StatusCodes
impl Send for StatusCodes
impl Sync for StatusCodes
impl Unpin for StatusCodes
impl UnwindSafe for StatusCodes
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more