pub enum ContentTransferEncoding {
SevenBit,
QuotedPrintable,
Base64,
EightBit,
Binary,
}
Variants
SevenBit
QuotedPrintable
Base64
EightBit
Binary
Trait Implementations
sourceimpl Clone for ContentTransferEncoding
impl Clone for ContentTransferEncoding
sourcefn clone(&self) -> ContentTransferEncoding
fn clone(&self) -> ContentTransferEncoding
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 ContentTransferEncoding
impl Debug for ContentTransferEncoding
sourceimpl Default for ContentTransferEncoding
impl Default for ContentTransferEncoding
sourceimpl Display for ContentTransferEncoding
impl Display for ContentTransferEncoding
sourcefn fmt(&self, f: &mut FmtFormatter<'_>) -> FmtResult
fn fmt(&self, f: &mut FmtFormatter<'_>) -> FmtResult
Formats the value using the given formatter. Read more
sourceimpl FromStr for ContentTransferEncoding
impl FromStr for ContentTransferEncoding
sourceimpl Header for ContentTransferEncoding
impl Header for ContentTransferEncoding
sourcefn header_name() -> &'static str
fn header_name() -> &'static str
Returns the name of the header field this belongs to. Read more
sourcefn parse_header(raw: &Raw) -> HyperResult<Self>
fn parse_header(raw: &Raw) -> HyperResult<Self>
Parse a header from a raw stream of bytes. Read more
sourcefn fmt_header(&self, f: &mut HeaderFormatter<'_, '_>) -> FmtResult
fn fmt_header(&self, f: &mut HeaderFormatter<'_, '_>) -> FmtResult
Format a header to outgoing stream. Read more
sourceimpl PartialEq<ContentTransferEncoding> for ContentTransferEncoding
impl PartialEq<ContentTransferEncoding> for ContentTransferEncoding
sourcefn eq(&self, other: &ContentTransferEncoding) -> bool
fn eq(&self, other: &ContentTransferEncoding) -> bool
impl StructuralPartialEq for ContentTransferEncoding
Auto Trait Implementations
impl RefUnwindSafe for ContentTransferEncoding
impl Send for ContentTransferEncoding
impl Sync for ContentTransferEncoding
impl Unpin for ContentTransferEncoding
impl UnwindSafe for ContentTransferEncoding
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