pub enum Extension {
EightBitMime,
SmtpUtfEight,
StartTls,
Authentication(Mechanism),
}
Expand description
Supported ESMTP keywords
Variants
EightBitMime
8BITMIME keyword
RFC 6152: https://tools.ietf.org/html/rfc6152
SmtpUtfEight
SMTPUTF8 keyword
RFC 6531: https://tools.ietf.org/html/rfc6531
StartTls
STARTTLS keyword
RFC 2487: https://tools.ietf.org/html/rfc2487
Authentication(Mechanism)
AUTH mechanism
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Extension
impl<'de> Deserialize<'de> for Extension
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Extension
impl Eq for Extension
impl StructuralEq for Extension
impl StructuralPartialEq for Extension
Auto Trait Implementations
impl RefUnwindSafe for Extension
impl Send for Extension
impl Sync for Extension
impl Unpin for Extension
impl UnwindSafe for Extension
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