pub enum ConnectionKind {
Relay,
Submission,
Tunneled,
}Expand description
Type of SMTP connection.
Variants
Relay
Connection coming for relay (MTA on port 25) see https://datatracker.ietf.org/doc/html/rfc5321
Submission
Connection coming for submission (MSA on port 587) see https://datatracker.ietf.org/doc/html/rfc6409
Tunneled
Connection coming for submissionS (MSA on port 465) see https://datatracker.ietf.org/doc/html/rfc8314
Trait Implementations
impl Clone for ConnectionKind
impl Clone for ConnectionKind
fn clone(&self) -> ConnectionKind
fn clone(&self) -> ConnectionKind
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
impl Debug for ConnectionKind
impl Debug for ConnectionKind
impl Display for ConnectionKind
impl Display for ConnectionKind
impl Hash for ConnectionKind
impl Hash for ConnectionKind
impl PartialEq<ConnectionKind> for ConnectionKind
impl PartialEq<ConnectionKind> for ConnectionKind
impl Copy for ConnectionKind
impl Eq for ConnectionKind
impl StructuralEq for ConnectionKind
impl StructuralPartialEq for ConnectionKind
Auto Trait Implementations
impl RefUnwindSafe for ConnectionKind
impl Send for ConnectionKind
impl Sync for ConnectionKind
impl Unpin for ConnectionKind
impl UnwindSafe for ConnectionKind
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> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more