#[non_exhaustive]pub enum TransferEncoding {
Identity,
QuotedPrintable,
Base64,
SevenBit,
EightBit,
Binary,
UUEncode,
}Expand description
Transfer encoding of a MIME body part.
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.
Identity
QuotedPrintable
Base64
SevenBit
EightBit
Binary
UUEncode
UUencode, as used in Content-Transfer-Encoding: x-uuencode,
x-uue, or uuencode. RFC 2045 permits x-token CTE values.
Trait Implementations§
Source§impl Clone for TransferEncoding
impl Clone for TransferEncoding
Source§fn clone(&self) -> TransferEncoding
fn clone(&self) -> TransferEncoding
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 TransferEncoding
impl Debug for TransferEncoding
Source§impl<'de> Deserialize<'de> for TransferEncoding
impl<'de> Deserialize<'de> for TransferEncoding
Source§fn 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
Source§impl Display for TransferEncoding
impl Display for TransferEncoding
impl Eq for TransferEncoding
Source§impl PartialEq for TransferEncoding
impl PartialEq for TransferEncoding
Source§fn eq(&self, other: &TransferEncoding) -> bool
fn eq(&self, other: &TransferEncoding) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TransferEncoding
impl Serialize for TransferEncoding
impl StructuralPartialEq for TransferEncoding
Auto Trait Implementations§
impl Freeze for TransferEncoding
impl RefUnwindSafe for TransferEncoding
impl Send for TransferEncoding
impl Sync for TransferEncoding
impl Unpin for TransferEncoding
impl UnsafeUnpin for TransferEncoding
impl UnwindSafe for TransferEncoding
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