pub enum RecordType {
Show 13 variants
Reception,
Delivery,
Bounce,
TransientFailure,
Expiration,
AdminBounce,
OOB,
Feedback,
Rejection,
AdminRebind,
DeferredInjectionRebind,
Delayed,
Any,
}
Variants§
Reception
Recorded by a receiving listener
Delivery
Recorded by the delivery side, most likely as a result of attempting a delivery to a remote host
Bounce
TransientFailure
Expiration
Recorded when a message is expiring from the queue
AdminBounce
Administratively failed
OOB
Contains information about an OOB bounce
Feedback
Contains a feedback report
Rejection
SMTP Listener responded with a 4xx or 5xx
AdminRebind
Administratively rebound from one queue to another
DeferredInjectionRebind
Moved from the special deferred injection queue and into some other queue
Delayed
Explains why a message was put into the scheduled queue
Any
Special for matching anything in the logging config
Implementations§
Source§impl RecordType
impl RecordType
Sourcepub const fn is_bounce_classifiable(&self) -> bool
pub const fn is_bounce_classifiable(&self) -> bool
Returns true if it makes sense to run the corresponding record through the bounce classifier module. The rule of thumb for that is if the response came from the destination when attempting delivery, but we also include administrative bounces and message expirations.
Trait Implementations§
Source§impl Clone for RecordType
impl Clone for RecordType
Source§fn clone(&self) -> RecordType
fn clone(&self) -> RecordType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RecordType
impl Debug for RecordType
Source§impl<'de> Deserialize<'de> for RecordType
impl<'de> Deserialize<'de> for RecordType
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 Hash for RecordType
impl Hash for RecordType
Source§impl Ord for RecordType
impl Ord for RecordType
Source§fn cmp(&self, other: &RecordType) -> Ordering
fn cmp(&self, other: &RecordType) -> 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 RecordType
impl PartialEq for RecordType
Source§impl PartialOrd for RecordType
impl PartialOrd for RecordType
Source§impl Serialize for RecordType
impl Serialize for RecordType
impl Copy for RecordType
impl Eq for RecordType
impl StructuralPartialEq for RecordType
Auto Trait Implementations§
impl Freeze for RecordType
impl RefUnwindSafe for RecordType
impl Send for RecordType
impl Sync for RecordType
impl Unpin for RecordType
impl UnwindSafe for RecordType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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
key
and return true
if they are equal.