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 moreimpl 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
fn eq(&self, other: &ConnectionKind) -> bool
fn eq(&self, other: &ConnectionKind) -> bool
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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