pub enum PreDefinedBounceClass {
Show 28 variants
InvalidRecipient,
DNSFailure,
SpamBlock,
SpamContent,
ProhibitedAttachment,
RelayDenied,
AutoReply,
TransientFailure,
Subscribe,
Unsubscribe,
ChallengeResponse,
BadConfiguration,
BadConnection,
BadDomain,
ContentRelated,
InactiveMailbox,
InvalidSender,
MessageExpired,
NoAnswerFromHost,
PolicyRelated,
ProtocolErrors,
QuotaIssues,
RelayingIssues,
RoutingErrors,
SpamRelated,
VirusRelated,
AuthenticationFailed,
Uncategorized,
}
Variants§
InvalidRecipient
The recipient is invalid
DNSFailure
The message bounced due to a DNS failure.
SpamBlock
The message was blocked by the receiver as coming from a known spam source.
SpamContent
The message was blocked by the receiver as spam
ProhibitedAttachment
The message was blocked by the receiver because it contained an attachment
RelayDenied
The message was blocked by the receiver because relaying is not allowed.
AutoReply
The message is an auto-reply/vacation mail.
TransientFailure
Message transmission has been temporarily delayed.
Subscribe
The message is a subscribe request.
Unsubscribe
The message is an unsubscribe request.
ChallengeResponse
The message is a challenge-response probe.
BadConfiguration
messages rejected due to configuration issues with remote host, 5.X.X error
BadConnection
messages bounced due to bad connection issues with remote host, 4.X.X error
BadDomain
messages bounced due to invalid or non-existing domains, 5.X.X error
ContentRelated
messages refused or blocked due to content related reasons, 5.X.X error
InactiveMailbox
messages rejected due to expired, inactive, or disabled recipient addresses, 5.X.X error
InvalidSender
messages bounced due to invalid DNS or MX entry for sending domain
MessageExpired
messages bounced due to not being delivered before the bounce-after, 4.X.X error
NoAnswerFromHost
messages bounces due to receiving no response from remote host after connecting, 4.X.X or 5.X.X error
PolicyRelated
messages refused or blocked due to general policy reasons, 5.X.X error
ProtocolErrors
messages rejected due to SMTP protocol syntax or sequence errors, 5.X.X error
QuotaIssues
messages rejected or blocked due to mailbox quota issues, 4.X.X or 5.X.X error
RelayingIssues
messages refused or blocked due to remote mail server relaying issues, 5.X.X error
RoutingErrors
messages bounced due to mail routing issues for recipient domain, 5.X.X error
SpamRelated
messages refused or blocked due to spam related reasons, 5.X.X error
VirusRelated
messages refused or blocked due to virus related reasons, 5.X.X error
AuthenticationFailed
authentication policy was not met
Uncategorized
messages rejected due to other reasons, 4.X.X or 5.X.X error
Trait Implementations§
source§impl Clone for PreDefinedBounceClass
impl Clone for PreDefinedBounceClass
source§fn clone(&self) -> PreDefinedBounceClass
fn clone(&self) -> PreDefinedBounceClass
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PreDefinedBounceClass
impl Debug for PreDefinedBounceClass
source§impl<'de> Deserialize<'de> for PreDefinedBounceClass
impl<'de> Deserialize<'de> for PreDefinedBounceClass
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>,
source§impl Display for PreDefinedBounceClass
impl Display for PreDefinedBounceClass
source§impl From<PreDefinedBounceClass> for BounceClass
impl From<PreDefinedBounceClass> for BounceClass
source§fn from(c: PreDefinedBounceClass) -> BounceClass
fn from(c: PreDefinedBounceClass) -> BounceClass
source§impl FromStr for PreDefinedBounceClass
impl FromStr for PreDefinedBounceClass
source§impl Hash for PreDefinedBounceClass
impl Hash for PreDefinedBounceClass
source§impl Ord for PreDefinedBounceClass
impl Ord for PreDefinedBounceClass
source§fn cmp(&self, other: &PreDefinedBounceClass) -> Ordering
fn cmp(&self, other: &PreDefinedBounceClass) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for PreDefinedBounceClass
impl PartialEq for PreDefinedBounceClass
source§fn eq(&self, other: &PreDefinedBounceClass) -> bool
fn eq(&self, other: &PreDefinedBounceClass) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PreDefinedBounceClass
impl PartialOrd for PreDefinedBounceClass
source§fn partial_cmp(&self, other: &PreDefinedBounceClass) -> Option<Ordering>
fn partial_cmp(&self, other: &PreDefinedBounceClass) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for PreDefinedBounceClass
impl Serialize for PreDefinedBounceClass
source§impl TryFrom<&str> for PreDefinedBounceClass
impl TryFrom<&str> for PreDefinedBounceClass
impl Copy for PreDefinedBounceClass
impl Eq for PreDefinedBounceClass
impl StructuralPartialEq for PreDefinedBounceClass
Auto Trait Implementations§
impl Freeze for PreDefinedBounceClass
impl RefUnwindSafe for PreDefinedBounceClass
impl Send for PreDefinedBounceClass
impl Sync for PreDefinedBounceClass
impl Unpin for PreDefinedBounceClass
impl UnwindSafe for PreDefinedBounceClass
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.