pub enum TransferEncoding {
_7Bit,
_8Bit,
Binary,
QuotedPrintable,
Base64,
}
Expand description
The TransferEnecoding header component mainly used by the ContentTransferEncodingHeader.
Variants
_7Bit
_8Bit
Binary
QuotedPrintable
Base64
Implementations
sourceimpl TransferEncoding
impl TransferEncoding
pub fn repr(&self) -> &SoftAsciiStr
Trait Implementations
sourceimpl Clone for TransferEncoding
impl Clone for TransferEncoding
sourcefn clone(&self) -> TransferEncoding
fn clone(&self) -> TransferEncoding
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for TransferEncoding
impl Debug for TransferEncoding
sourceimpl EncodableInHeader for TransferEncoding
impl EncodableInHeader for TransferEncoding
fn encode(&self, handle: &mut EncodingWriter<'_>) -> Result<(), EncodingError>
fn boxed_clone(&self) -> Box<dyn EncodableInHeader>
sourceimpl Hash for TransferEncoding
impl Hash for TransferEncoding
sourceimpl PartialEq<TransferEncoding> for TransferEncoding
impl PartialEq<TransferEncoding> for TransferEncoding
sourcefn eq(&self, other: &TransferEncoding) -> bool
fn eq(&self, other: &TransferEncoding) -> bool
impl Copy for TransferEncoding
impl Eq for TransferEncoding
impl StructuralEq for TransferEncoding
impl StructuralPartialEq for TransferEncoding
Auto Trait Implementations
impl RefUnwindSafe for TransferEncoding
impl Send for TransferEncoding
impl Sync for TransferEncoding
impl Unpin for TransferEncoding
impl UnwindSafe for TransferEncoding
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