Enum vsmtp_common::CodeID
pub enum CodeID {
Show 31 variants
Greetings,
Help,
Closing,
Helo,
EhloPain,
EhloSecured,
DataStart,
Ok,
Denied,
Failure,
UnrecognizedCommand,
SyntaxErrorParams,
ParameterUnimplemented,
Unimplemented,
BadSequence,
MessageSizeExceeded,
TlsGoAhead,
TlsNotAvailable,
AlreadyUnderTLS,
AuthSucceeded,
AuthMechNotSupported,
AuthClientMustNotStart,
AuthMechanismMustBeEncrypted,
AuthInvalidCredentials,
AuthClientCanceled,
AuthErrorDecode64,
AuthTempError,
ConnectionMaxReached,
TooManyError,
Timeout,
TooManyRecipients,
}Expand description
Variants§
Greetings
First message sent by the server
Help
Closing
Helo
EhloPain
EhloSecured
DataStart
Ok
Accepted
Denied
Failure
UnrecognizedCommand
SyntaxErrorParams
ParameterUnimplemented
Unimplemented
BadSequence
MessageSizeExceeded
TlsGoAhead
The tls handshake can start (STARTTLS)
TlsNotAvailable
AlreadyUnderTLS
AuthSucceeded
AuthMechNotSupported
AuthClientMustNotStart
AuthMechanismMustBeEncrypted
AuthInvalidCredentials
AuthClientCanceled
AuthErrorDecode64
AuthTempError
This response to the AUTH command indicates that the authentication failed due to a temporary server failure. The client SHOULD NOT prompt the user for another password in this case, and should instead notify the user of server failure.
ConnectionMaxReached
The number of connection maximum accepted as the same time as been reached
TooManyError
The threshold error_count has been passed, then server will shutdown the connection
Timeout
TooManyRecipients
Trait Implementations§
§impl<'de> Deserialize<'de> for CodeID
impl<'de> Deserialize<'de> for CodeID
§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
§impl Ord for CodeID
impl Ord for CodeID
§impl PartialOrd<CodeID> for CodeID
impl PartialOrd<CodeID> for CodeID
§fn partial_cmp(&self, other: &CodeID) -> Option<Ordering>
fn partial_cmp(&self, other: &CodeID) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more