Struct smtp_message::EnhancedReplyCode
source · [−]pub struct EnhancedReplyCode<S> {
pub raw: S,
pub class: EnhancedReplyCodeClass,
pub raw_subject: u16,
pub raw_detail: u16,
}
Fields
raw: S
class: EnhancedReplyCodeClass
raw_subject: u16
raw_detail: u16
Implementations
sourceimpl EnhancedReplyCode<&'static str>
impl EnhancedReplyCode<&'static str>
pub const SUCCESS_UNDEFINED: EnhancedReplyCode<&'static str>
pub const TRANSIENT_UNDEFINED: EnhancedReplyCode<&'static str>
pub const PERMANENT_UNDEFINED: EnhancedReplyCode<&'static str>
pub const SUCCESS_ADDRESS_OTHER: EnhancedReplyCode<&'static str>
pub const TRANSIENT_ADDRESS_OTHER: EnhancedReplyCode<&'static str>
pub const PERMANENT_ADDRESS_OTHER: EnhancedReplyCode<&'static str>
pub const PERMANENT_BAD_DEST_MAILBOX: EnhancedReplyCode<&'static str>
pub const PERMANENT_BAD_DEST_SYSTEM: EnhancedReplyCode<&'static str>
pub const PERMANENT_BAD_DEST_MAILBOX_SYNTAX: EnhancedReplyCode<&'static str>
pub const SUCCESS_DEST_MAILBOX_AMBIGUOUS: EnhancedReplyCode<&'static str>
pub const TRANSIENT_DEST_MAILBOX_AMBIGUOUS: EnhancedReplyCode<&'static str>
pub const PERMANENT_DEST_MAILBOX_AMBIGUOUS: EnhancedReplyCode<&'static str>
pub const SUCCESS_DEST_VALID: EnhancedReplyCode<&'static str>
pub const PERMANENT_DEST_MAILBOX_HAS_MOVED: EnhancedReplyCode<&'static str>
pub const PERMANENT_BAD_SENDER_MAILBOX_SYNTAX: EnhancedReplyCode<&'static str>
pub const TRANSIENT_BAD_SENDER_SYSTEM: EnhancedReplyCode<&'static str>
pub const PERMANENT_BAD_SENDER_SYSTEM: EnhancedReplyCode<&'static str>
pub const SUCCESS_MESSAGE_RELAYED_TO_NON_COMPLIANT_MAILER: EnhancedReplyCode<&'static str>
pub const PERMANENT_MESSAGE_RELAYED_TO_NON_COMPLIANT_MAILER: EnhancedReplyCode<&'static str>
pub const PERMANENT_RECIPIENT_ADDRESS_HAS_NULL_MX: EnhancedReplyCode<&'static str>
pub const SUCCESS_MAILBOX_OTHER: EnhancedReplyCode<&'static str>
pub const TRANSIENT_MAILBOX_OTHER: EnhancedReplyCode<&'static str>
pub const PERMANENT_MAILBOX_OTHER: EnhancedReplyCode<&'static str>
pub const TRANSIENT_MAILBOX_DISABLED: EnhancedReplyCode<&'static str>
pub const PERMANENT_MAILBOX_DISABLED: EnhancedReplyCode<&'static str>
pub const TRANSIENT_MAILBOX_FULL: EnhancedReplyCode<&'static str>
pub const PERMANENT_MESSAGE_TOO_LONG_FOR_MAILBOX: EnhancedReplyCode<&'static str>
pub const TRANSIENT_MAILING_LIST_EXPANSION_ISSUE: EnhancedReplyCode<&'static str>
pub const PERMANENT_MAILING_LIST_EXPANSION_ISSUE: EnhancedReplyCode<&'static str>
pub const SUCCESS_SYSTEM_OTHER: EnhancedReplyCode<&'static str>
pub const TRANSIENT_SYSTEM_OTHER: EnhancedReplyCode<&'static str>
pub const PERMANENT_SYSTEM_OTHER: EnhancedReplyCode<&'static str>
pub const TRANSIENT_SYSTEM_FULL: EnhancedReplyCode<&'static str>
pub const TRANSIENT_SYSTEM_NOT_ACCEPTING_MESSAGES: EnhancedReplyCode<&'static str>
pub const PERMANENT_SYSTEM_NOT_ACCEPTING_MESSAGES: EnhancedReplyCode<&'static str>
pub const TRANSIENT_SYSTEM_INCAPABLE_OF_FEATURE: EnhancedReplyCode<&'static str>
pub const PERMANENT_SYSTEM_INCAPABLE_OF_FEATURE: EnhancedReplyCode<&'static str>
pub const PERMANENT_MESSAGE_TOO_BIG: EnhancedReplyCode<&'static str>
pub const TRANSIENT_SYSTEM_INCORRECTLY_CONFIGURED: EnhancedReplyCode<&'static str>
pub const PERMANENT_SYSTEM_INCORRECTLY_CONFIGURED: EnhancedReplyCode<&'static str>
pub const SUCCESS_REQUESTED_PRIORITY_WAS_CHANGED: EnhancedReplyCode<&'static str>
pub const SUCCESS_NETWORK_OTHER: EnhancedReplyCode<&'static str>
pub const TRANSIENT_NETWORK_OTHER: EnhancedReplyCode<&'static str>
pub const PERMANENT_NETWORK_OTHER: EnhancedReplyCode<&'static str>
pub const TRANSIENT_NO_ANSWER_FROM_HOST: EnhancedReplyCode<&'static str>
pub const TRANSIENT_BAD_CONNECTION: EnhancedReplyCode<&'static str>
pub const TRANSIENT_DIRECTORY_SERVER_FAILURE: EnhancedReplyCode<&'static str>
pub const TRANSIENT_UNABLE_TO_ROUTE: EnhancedReplyCode<&'static str>
pub const PERMANENT_UNABLE_TO_ROUTE: EnhancedReplyCode<&'static str>
pub const TRANSIENT_SYSTEM_CONGESTION: EnhancedReplyCode<&'static str>
pub const TRANSIENT_ROUTING_LOOP_DETECTED: EnhancedReplyCode<&'static str>
pub const TRANSIENT_DELIVERY_TIME_EXPIRED: EnhancedReplyCode<&'static str>
pub const PERMANENT_DELIVERY_TIME_EXPIRED: EnhancedReplyCode<&'static str>
pub const SUCCESS_DELIVERY_OTHER: EnhancedReplyCode<&'static str>
pub const TRANSIENT_DELIVERY_OTHER: EnhancedReplyCode<&'static str>
pub const PERMANENT_DELIVERY_OTHER: EnhancedReplyCode<&'static str>
pub const PERMANENT_INVALID_COMMAND: EnhancedReplyCode<&'static str>
pub const PERMANENT_SYNTAX_ERROR: EnhancedReplyCode<&'static str>
pub const TRANSIENT_TOO_MANY_RECIPIENTS: EnhancedReplyCode<&'static str>
pub const PERMANENT_TOO_MANY_RECIPIENTS: EnhancedReplyCode<&'static str>
pub const PERMANENT_INVALID_COMMAND_ARGUMENTS: EnhancedReplyCode<&'static str>
pub const TRANSIENT_WRONG_PROTOCOL_VERSION: EnhancedReplyCode<&'static str>
pub const PERMANENT_WRONG_PROTOCOL_VERSION: EnhancedReplyCode<&'static str>
pub const TRANSIENT_AUTH_EXCHANGE_LINE_TOO_LONG: EnhancedReplyCode<&'static str>
pub const PERMANENT_AUTH_EXCHANGE_LINE_TOO_LONG: EnhancedReplyCode<&'static str>
pub const SUCCESS_CONTENT_OTHER: EnhancedReplyCode<&'static str>
pub const TRANSIENT_CONTENT_OTHER: EnhancedReplyCode<&'static str>
pub const PERMANENT_CONTENT_OTHER: EnhancedReplyCode<&'static str>
pub const PERMANENT_MEDIA_NOT_SUPPORTED: EnhancedReplyCode<&'static str>
pub const TRANSIENT_CONVERSION_REQUIRED_AND_PROHIBITED: EnhancedReplyCode<&'static str>
pub const PERMANENT_CONVERSION_REQUIRED_AND_PROHIBITED: EnhancedReplyCode<&'static str>
pub const TRANSIENT_CONVERSION_REQUIRED_BUT_NOT_SUPPORTED: EnhancedReplyCode<&'static str>
pub const PERMANENT_CONVERSION_REQUIRED_BUT_NOT_SUPPORTED: EnhancedReplyCode<&'static str>
pub const SUCCESS_CONVERSION_WITH_LOSS_PERFORMED: EnhancedReplyCode<&'static str>
pub const TRANSIENT_CONVERSION_WITH_LOSS_PERFORMED: EnhancedReplyCode<&'static str>
pub const PERMANENT_CONVERSION_WITH_LOSS_PERFORMED: EnhancedReplyCode<&'static str>
pub const TRANSIENT_CONVERSION_FAILED: EnhancedReplyCode<&'static str>
pub const PERMANENT_CONVERSION_FAILED: EnhancedReplyCode<&'static str>
pub const TRANSIENT_MESSAGE_CONTENT_NOT_AVAILABLE: EnhancedReplyCode<&'static str>
pub const PERMANENT_MESSAGE_CONTENT_NOT_AVAILABLE: EnhancedReplyCode<&'static str>
pub const PERMANENT_NON_ASCII_ADDRESSES_NOT_PERMITTED: EnhancedReplyCode<&'static str>
pub const SUCCESS_UTF8_WOULD_BE_REQUIRED: EnhancedReplyCode<&'static str>
pub const TRANSIENT_UTF8_WOULD_BE_REQUIRED: EnhancedReplyCode<&'static str>
pub const PERMANENT_UTF8_WOULD_BE_REQUIRED: EnhancedReplyCode<&'static str>
pub const PERMANENT_UTF8_MESSAGE_CANNOT_BE_TRANSMITTED: EnhancedReplyCode<&'static str>
pub const SUCCESS_UTF8_WOULD_BE_REQUIRED_BIS: EnhancedReplyCode<&'static str>
pub const TRANSIENT_UTF8_WOULD_BE_REQUIRED_BIS: EnhancedReplyCode<&'static str>
pub const PERMANENT_UTF8_WOULD_BE_REQUIRED_BIS: EnhancedReplyCode<&'static str>
pub const SUCCESS_POLICY_OTHER: EnhancedReplyCode<&'static str>
pub const TRANSIENT_POLICY_OTHER: EnhancedReplyCode<&'static str>
pub const PERMANENT_POLICY_OTHER: EnhancedReplyCode<&'static str>
pub const PERMANENT_DELIVERY_NOT_AUTHORIZED: EnhancedReplyCode<&'static str>
pub const PERMANENT_MAILING_LIST_EXPANSION_PROHIBITED: EnhancedReplyCode<&'static str>
pub const PERMANENT_SECURITY_CONVERSION_REQUIRED_BUT_NOT_POSSIBLE: EnhancedReplyCode<&'static str>
pub const PERMANENT_SECURITY_FEATURES_NOT_SUPPORTED: EnhancedReplyCode<&'static str>
pub const TRANSIENT_CRYPTO_FAILURE: EnhancedReplyCode<&'static str>
pub const PERMANENT_CRYPTO_FAILURE: EnhancedReplyCode<&'static str>
pub const TRANSIENT_CRYPTO_ALGO_NOT_SUPPORTED: EnhancedReplyCode<&'static str>
pub const PERMANENT_CRYPTO_ALGO_NOT_SUPPORTED: EnhancedReplyCode<&'static str>
pub const SUCCESS_MESSAGE_INTEGRITY_FAILURE: EnhancedReplyCode<&'static str>
pub const TRANSIENT_MESSAGE_INTEGRITY_FAILURE: EnhancedReplyCode<&'static str>
pub const PERMANENT_MESSAGE_INTEGRITY_FAILURE: EnhancedReplyCode<&'static str>
pub const PERMANENT_AUTH_CREDENTIALS_INVALID: EnhancedReplyCode<&'static str>
pub const PERMANENT_AUTH_MECHANISM_TOO_WEAK: EnhancedReplyCode<&'static str>
pub const PERMANENT_ENCRYPTION_NEEDED: EnhancedReplyCode<&'static str>
pub const PERMANENT_ENCRYPTION_REQUIRED_FOR_REQUESTED_AUTH_MECHANISM: EnhancedReplyCode<&'static str>
pub const TRANSIENT_PASSWORD_TRANSITION_NEEDED: EnhancedReplyCode<&'static str>
pub const PERMANENT_USER_ACCOUNT_DISABLED: EnhancedReplyCode<&'static str>
pub const PERMANENT_TRUST_RELATIONSHIP_REQUIRED: EnhancedReplyCode<&'static str>
pub const TRANSIENT_PRIORITY_TOO_LOW: EnhancedReplyCode<&'static str>
pub const PERMANENT_PRIORITY_TOO_LOW: EnhancedReplyCode<&'static str>
pub const TRANSIENT_MESSAGE_TOO_BIG_FOR_PRIORITY: EnhancedReplyCode<&'static str>
pub const PERMANENT_MESSAGE_TOO_BIG_FOR_PRIORITY: EnhancedReplyCode<&'static str>
pub const PERMANENT_MAILBOX_OWNER_HAS_CHANGED: EnhancedReplyCode<&'static str>
pub const PERMANENT_DOMAIN_OWNER_HAS_CHANGED: EnhancedReplyCode<&'static str>
pub const PERMANENT_RRVS_CANNOT_BE_COMPLETED: EnhancedReplyCode<&'static str>
pub const PERMANENT_NO_PASSING_DKIM_SIGNATURE_FOUND: EnhancedReplyCode<&'static str>
pub const PERMANENT_NO_ACCEPTABLE_DKIM_SIGNATURE_FOUND: EnhancedReplyCode<&'static str>
pub const PERMANENT_NO_AUTHOR_MATCHED_DKIM_SIGNATURE_FOUND: EnhancedReplyCode<&'static str>
pub const PERMANENT_SPF_VALIDATION_FAILED: EnhancedReplyCode<&'static str>
pub const TRANSIENT_SPF_VALIDATION_ERROR: EnhancedReplyCode<&'static str>
pub const PERMANENT_SPF_VALIDATION_ERROR: EnhancedReplyCode<&'static str>
pub const PERMANENT_REVERSE_DNS_VALIDATION_FAILED: EnhancedReplyCode<&'static str>
pub const PERMANENT_MULTIPLE_AUTH_CHECKS_FAILED: EnhancedReplyCode<&'static str>
pub const PERMANENT_SENDER_ADDRESS_HAS_NULL_MX: EnhancedReplyCode<&'static str>
pub const SUCCESS_MAIL_FLOOD_DETECTED: EnhancedReplyCode<&'static str>
pub const TRANSIENT_MAIL_FLOOD_DETECTED: EnhancedReplyCode<&'static str>
pub const PERMANENT_MAIL_FLOOD_DETECTED: EnhancedReplyCode<&'static str>
pub const PERMANENT_ARC_VALIDATION_FAILURE: EnhancedReplyCode<&'static str>
pub const PERMANENT_REQUIRETLS_SUPPORT_REQUIRED: EnhancedReplyCode<&'static str>
sourceimpl<S> EnhancedReplyCode<S>
impl<S> EnhancedReplyCode<S>
sourceimpl<S> EnhancedReplyCode<S> where
S: AsRef<str>,
impl<S> EnhancedReplyCode<S> where
S: AsRef<str>,
pub fn as_io_slices(&self) -> impl Iterator<Item = IoSlice<'_>>
sourceimpl EnhancedReplyCode<&str>
impl EnhancedReplyCode<&str>
pub fn to_owned(&self) -> EnhancedReplyCode<String>
sourceimpl<T> EnhancedReplyCode<T>
impl<T> EnhancedReplyCode<T>
pub fn convert<U>(self) -> EnhancedReplyCode<U> where
U: From<T>,
Trait Implementations
sourceimpl<S: Clone> Clone for EnhancedReplyCode<S>
impl<S: Clone> Clone for EnhancedReplyCode<S>
sourcefn clone(&self) -> EnhancedReplyCode<S>
fn clone(&self) -> EnhancedReplyCode<S>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<S: Debug> Debug for EnhancedReplyCode<S>
impl<S: Debug> Debug for EnhancedReplyCode<S>
sourceimpl<'de, S> Deserialize<'de> for EnhancedReplyCode<S> where
S: Deserialize<'de>,
impl<'de, S> Deserialize<'de> for EnhancedReplyCode<S> where
S: Deserialize<'de>,
sourcefn 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
sourceimpl<S: PartialEq> PartialEq<EnhancedReplyCode<S>> for EnhancedReplyCode<S>
impl<S: PartialEq> PartialEq<EnhancedReplyCode<S>> for EnhancedReplyCode<S>
sourcefn eq(&self, other: &EnhancedReplyCode<S>) -> bool
fn eq(&self, other: &EnhancedReplyCode<S>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EnhancedReplyCode<S>) -> bool
fn ne(&self, other: &EnhancedReplyCode<S>) -> bool
This method tests for !=
.
sourceimpl<S> Serialize for EnhancedReplyCode<S> where
S: Serialize,
impl<S> Serialize for EnhancedReplyCode<S> where
S: Serialize,
impl<S: Eq> Eq for EnhancedReplyCode<S>
impl<S> StructuralEq for EnhancedReplyCode<S>
impl<S> StructuralPartialEq for EnhancedReplyCode<S>
Auto Trait Implementations
impl<S> RefUnwindSafe for EnhancedReplyCode<S> where
S: RefUnwindSafe,
impl<S> Send for EnhancedReplyCode<S> where
S: Send,
impl<S> Sync for EnhancedReplyCode<S> where
S: Sync,
impl<S> Unpin for EnhancedReplyCode<S> where
S: Unpin,
impl<S> UnwindSafe for EnhancedReplyCode<S> where
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more