pub enum SmtpExtension {
StartTls,
EightBitMime,
SmtpUtf8,
Size(Option<u64>),
Auth(String),
Other(String),
}Expand description
SMTP extension labels.
Variants§
StartTls
STARTTLS extension.
EightBitMime
8BITMIME extension.
SmtpUtf8
SMTPUTF8 extension.
Size(Option<u64>)
SIZE extension with optional advertised limit.
Auth(String)
AUTH extension with mechanism list metadata.
Other(String)
Other EHLO extension label.
Trait Implementations§
Source§impl Clone for SmtpExtension
impl Clone for SmtpExtension
Source§fn clone(&self) -> SmtpExtension
fn clone(&self) -> SmtpExtension
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SmtpExtension
impl Debug for SmtpExtension
Source§impl Display for SmtpExtension
impl Display for SmtpExtension
Source§impl Hash for SmtpExtension
impl Hash for SmtpExtension
Source§impl Ord for SmtpExtension
impl Ord for SmtpExtension
Source§fn cmp(&self, other: &SmtpExtension) -> Ordering
fn cmp(&self, other: &SmtpExtension) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SmtpExtension
impl PartialEq for SmtpExtension
Source§fn eq(&self, other: &SmtpExtension) -> bool
fn eq(&self, other: &SmtpExtension) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SmtpExtension
impl PartialOrd for SmtpExtension
impl Eq for SmtpExtension
impl StructuralPartialEq for SmtpExtension
Auto Trait Implementations§
impl Freeze for SmtpExtension
impl RefUnwindSafe for SmtpExtension
impl Send for SmtpExtension
impl Sync for SmtpExtension
impl Unpin for SmtpExtension
impl UnsafeUnpin for SmtpExtension
impl UnwindSafe for SmtpExtension
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