pub enum TransferEncoding {
_7Bit,
_8Bit,
Binary,
QuotedPrintable,
Base64,
}Expand description
The TransferEnecoding header component mainly used by the ContentTransferEncodingHeader.
Variants§
Implementations§
Source§impl TransferEncoding
impl TransferEncoding
pub fn repr(&self) -> &SoftAsciiStr
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 moreimpl Copy for TransferEncoding
Source§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 EncodableInHeader for TransferEncoding
impl EncodableInHeader for TransferEncoding
fn encode(&self, handle: &mut EncodingWriter<'_>) -> Result<(), EncodingError>
fn boxed_clone(&self) -> Box<dyn EncodableInHeader>
impl Eq for TransferEncoding
Source§impl Hash for TransferEncoding
impl Hash 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