#[non_exhaustive]pub enum Extension {
EightBitMime,
SmtpUtfEight,
StartTls,
Authentication(Mechanism),
}
Expand description
Supported ESMTP keywords
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EightBitMime
8BITMIME keyword
Defined in RFC 6152
SmtpUtfEight
SMTPUTF8 keyword
Defined in RFC 6531
StartTls
STARTTLS keyword
Defined in RFC 2487
Authentication(Mechanism)
AUTH mechanism
Trait Implementations§
impl Copy for Extension
impl Eq for Extension
impl StructuralPartialEq for Extension
Auto Trait Implementations§
impl Freeze for Extension
impl RefUnwindSafe for Extension
impl Send for Extension
impl Sync for Extension
impl Unpin for Extension
impl UnwindSafe for Extension
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