pub enum Protocol {
Show 23 variants
SMTP,
ESMTP,
ESMTPA,
ESMTPS,
ESMTPSA,
LMTP,
LMTPA,
LMTPS,
LMTPSA,
MMS,
UTF8SMTP,
UTF8SMTPA,
UTF8SMTPS,
UTF8SMTPSA,
UTF8LMTP,
UTF8LMTPA,
UTF8LMTPS,
UTF8LMTPSA,
HTTP,
HTTPS,
IMAP,
POP3,
Local,
}Expand description
The protocol of a Received with clause (the IANA mail transmission
types of RFC 3848 and later).
Variants§
SMTP
SMTP.
ESMTP
ESMTP.
ESMTPA
ESMTPA: ESMTP with authentication.
ESMTPS
ESMTPS: ESMTP with TLS.
ESMTPSA
ESMTPSA: ESMTP with TLS and authentication.
LMTP
LMTP.
LMTPA
LMTPA: LMTP with authentication.
LMTPS
LMTPS: LMTP with TLS.
LMTPSA
LMTPSA: LMTP with TLS and authentication.
MMS
MMS.
UTF8SMTP
UTF8SMTP.
UTF8SMTPA
UTF8SMTPA.
UTF8SMTPS
UTF8SMTPS.
UTF8SMTPSA
UTF8SMTPSA.
UTF8LMTP
UTF8LMTP.
UTF8LMTPA
UTF8LMTPA.
UTF8LMTPS
UTF8LMTPS.
UTF8LMTPSA
UTF8LMTPSA.
HTTP
HTTP.
HTTPS
HTTPS.
IMAP
IMAP.
POP3
POP3.
Local
Local.
Implementations§
Trait Implementations§
impl Copy for Protocol
impl Eq for Protocol
impl StructuralPartialEq for Protocol
Auto Trait Implementations§
impl Freeze for Protocol
impl RefUnwindSafe for Protocol
impl Send for Protocol
impl Sync for Protocol
impl Unpin for Protocol
impl UnsafeUnpin for Protocol
impl UnwindSafe for Protocol
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
Mutably borrows from an owned value. Read more