Struct 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§

Source§

impl EnhancedReplyCode<&'static str>

Source

pub const SUCCESS_UNDEFINED: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_UNDEFINED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_UNDEFINED: EnhancedReplyCode<&'static str>

Source

pub const SUCCESS_ADDRESS_OTHER: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_ADDRESS_OTHER: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_ADDRESS_OTHER: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_BAD_DEST_MAILBOX: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_BAD_DEST_SYSTEM: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_BAD_DEST_MAILBOX_SYNTAX: EnhancedReplyCode<&'static str>

Source

pub const SUCCESS_DEST_MAILBOX_AMBIGUOUS: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_DEST_MAILBOX_AMBIGUOUS: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_DEST_MAILBOX_AMBIGUOUS: EnhancedReplyCode<&'static str>

Source

pub const SUCCESS_DEST_VALID: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_DEST_MAILBOX_HAS_MOVED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_BAD_SENDER_MAILBOX_SYNTAX: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_BAD_SENDER_SYSTEM: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_BAD_SENDER_SYSTEM: EnhancedReplyCode<&'static str>

Source

pub const SUCCESS_MESSAGE_RELAYED_TO_NON_COMPLIANT_MAILER: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_MESSAGE_RELAYED_TO_NON_COMPLIANT_MAILER: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_RECIPIENT_ADDRESS_HAS_NULL_MX: EnhancedReplyCode<&'static str>

Source

pub const SUCCESS_MAILBOX_OTHER: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_MAILBOX_OTHER: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_MAILBOX_OTHER: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_MAILBOX_DISABLED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_MAILBOX_DISABLED: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_MAILBOX_FULL: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_MESSAGE_TOO_LONG_FOR_MAILBOX: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_MAILING_LIST_EXPANSION_ISSUE: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_MAILING_LIST_EXPANSION_ISSUE: EnhancedReplyCode<&'static str>

Source

pub const SUCCESS_SYSTEM_OTHER: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_SYSTEM_OTHER: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_SYSTEM_OTHER: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_SYSTEM_FULL: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_SYSTEM_NOT_ACCEPTING_MESSAGES: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_SYSTEM_NOT_ACCEPTING_MESSAGES: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_SYSTEM_INCAPABLE_OF_FEATURE: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_SYSTEM_INCAPABLE_OF_FEATURE: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_MESSAGE_TOO_BIG: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_SYSTEM_INCORRECTLY_CONFIGURED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_SYSTEM_INCORRECTLY_CONFIGURED: EnhancedReplyCode<&'static str>

Source

pub const SUCCESS_REQUESTED_PRIORITY_WAS_CHANGED: EnhancedReplyCode<&'static str>

Source

pub const SUCCESS_NETWORK_OTHER: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_NETWORK_OTHER: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_NETWORK_OTHER: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_NO_ANSWER_FROM_HOST: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_BAD_CONNECTION: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_DIRECTORY_SERVER_FAILURE: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_UNABLE_TO_ROUTE: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_UNABLE_TO_ROUTE: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_SYSTEM_CONGESTION: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_ROUTING_LOOP_DETECTED: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_DELIVERY_TIME_EXPIRED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_DELIVERY_TIME_EXPIRED: EnhancedReplyCode<&'static str>

Source

pub const SUCCESS_DELIVERY_OTHER: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_DELIVERY_OTHER: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_DELIVERY_OTHER: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_INVALID_COMMAND: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_SYNTAX_ERROR: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_TOO_MANY_RECIPIENTS: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_TOO_MANY_RECIPIENTS: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_INVALID_COMMAND_ARGUMENTS: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_WRONG_PROTOCOL_VERSION: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_WRONG_PROTOCOL_VERSION: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_AUTH_EXCHANGE_LINE_TOO_LONG: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_AUTH_EXCHANGE_LINE_TOO_LONG: EnhancedReplyCode<&'static str>

Source

pub const SUCCESS_CONTENT_OTHER: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_CONTENT_OTHER: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_CONTENT_OTHER: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_MEDIA_NOT_SUPPORTED: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_CONVERSION_REQUIRED_AND_PROHIBITED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_CONVERSION_REQUIRED_AND_PROHIBITED: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_CONVERSION_REQUIRED_BUT_NOT_SUPPORTED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_CONVERSION_REQUIRED_BUT_NOT_SUPPORTED: EnhancedReplyCode<&'static str>

Source

pub const SUCCESS_CONVERSION_WITH_LOSS_PERFORMED: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_CONVERSION_WITH_LOSS_PERFORMED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_CONVERSION_WITH_LOSS_PERFORMED: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_CONVERSION_FAILED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_CONVERSION_FAILED: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_MESSAGE_CONTENT_NOT_AVAILABLE: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_MESSAGE_CONTENT_NOT_AVAILABLE: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_NON_ASCII_ADDRESSES_NOT_PERMITTED: EnhancedReplyCode<&'static str>

Source

pub const SUCCESS_UTF8_WOULD_BE_REQUIRED: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_UTF8_WOULD_BE_REQUIRED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_UTF8_WOULD_BE_REQUIRED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_UTF8_MESSAGE_CANNOT_BE_TRANSMITTED: EnhancedReplyCode<&'static str>

Source

pub const SUCCESS_UTF8_WOULD_BE_REQUIRED_BIS: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_UTF8_WOULD_BE_REQUIRED_BIS: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_UTF8_WOULD_BE_REQUIRED_BIS: EnhancedReplyCode<&'static str>

Source

pub const SUCCESS_POLICY_OTHER: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_POLICY_OTHER: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_POLICY_OTHER: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_DELIVERY_NOT_AUTHORIZED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_MAILING_LIST_EXPANSION_PROHIBITED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_SECURITY_CONVERSION_REQUIRED_BUT_NOT_POSSIBLE: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_SECURITY_FEATURES_NOT_SUPPORTED: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_CRYPTO_FAILURE: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_CRYPTO_FAILURE: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_CRYPTO_ALGO_NOT_SUPPORTED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_CRYPTO_ALGO_NOT_SUPPORTED: EnhancedReplyCode<&'static str>

Source

pub const SUCCESS_MESSAGE_INTEGRITY_FAILURE: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_MESSAGE_INTEGRITY_FAILURE: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_MESSAGE_INTEGRITY_FAILURE: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_AUTH_CREDENTIALS_INVALID: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_AUTH_MECHANISM_TOO_WEAK: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_ENCRYPTION_NEEDED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_ENCRYPTION_REQUIRED_FOR_REQUESTED_AUTH_MECHANISM: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_PASSWORD_TRANSITION_NEEDED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_USER_ACCOUNT_DISABLED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_TRUST_RELATIONSHIP_REQUIRED: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_PRIORITY_TOO_LOW: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_PRIORITY_TOO_LOW: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_MESSAGE_TOO_BIG_FOR_PRIORITY: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_MESSAGE_TOO_BIG_FOR_PRIORITY: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_MAILBOX_OWNER_HAS_CHANGED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_DOMAIN_OWNER_HAS_CHANGED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_RRVS_CANNOT_BE_COMPLETED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_NO_PASSING_DKIM_SIGNATURE_FOUND: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_NO_ACCEPTABLE_DKIM_SIGNATURE_FOUND: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_NO_AUTHOR_MATCHED_DKIM_SIGNATURE_FOUND: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_SPF_VALIDATION_FAILED: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_SPF_VALIDATION_ERROR: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_SPF_VALIDATION_ERROR: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_REVERSE_DNS_VALIDATION_FAILED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_MULTIPLE_AUTH_CHECKS_FAILED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_SENDER_ADDRESS_HAS_NULL_MX: EnhancedReplyCode<&'static str>

Source

pub const SUCCESS_MAIL_FLOOD_DETECTED: EnhancedReplyCode<&'static str>

Source

pub const TRANSIENT_MAIL_FLOOD_DETECTED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_MAIL_FLOOD_DETECTED: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_ARC_VALIDATION_FAILURE: EnhancedReplyCode<&'static str>

Source

pub const PERMANENT_REQUIRETLS_SUPPORT_REQUIRED: EnhancedReplyCode<&'static str>

Source§

impl<S> EnhancedReplyCode<S>

Source

pub fn parse<'a>(buf: &'a [u8]) -> IResult<&'a [u8], EnhancedReplyCode<S>>
where S: From<&'a str>,

Source

pub fn subject(&self) -> EnhancedReplyCodeSubject

Source

pub fn into<T>(self) -> EnhancedReplyCode<T>
where T: From<S>,

Source§

impl<S> EnhancedReplyCode<S>
where S: AsRef<str>,

Source

pub fn as_io_slices(&self) -> impl Iterator<Item = IoSlice<'_>>

Source§

impl EnhancedReplyCode<&str>

Source§

impl<T> EnhancedReplyCode<T>

Source

pub fn convert<U>(self) -> EnhancedReplyCode<U>
where U: From<T>,

Trait Implementations§

Source§

impl<S: Clone> Clone for EnhancedReplyCode<S>

Source§

fn clone(&self) -> EnhancedReplyCode<S>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<S: Debug> Debug for EnhancedReplyCode<S>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<S: PartialEq> PartialEq for EnhancedReplyCode<S>

Source§

fn eq(&self, other: &EnhancedReplyCode<S>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<S: Eq> Eq for EnhancedReplyCode<S>

Source§

impl<S> StructuralPartialEq for EnhancedReplyCode<S>

Auto Trait Implementations§

§

impl<S> Freeze for EnhancedReplyCode<S>
where S: Freeze,

§

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§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.