pub enum ContentTransferEncoding {
SevenBit,
QuotedPrintable,
Base64,
EightBit,
Binary,
}
Variants§
Trait Implementations§
Source§impl Clone for ContentTransferEncoding
impl Clone for ContentTransferEncoding
Source§fn clone(&self) -> ContentTransferEncoding
fn clone(&self) -> ContentTransferEncoding
Returns a duplicate of the value. Read more
1.0.0 · 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 ContentTransferEncoding
impl Debug for ContentTransferEncoding
Source§impl Default for ContentTransferEncoding
impl Default for ContentTransferEncoding
Source§impl Display for ContentTransferEncoding
impl Display for ContentTransferEncoding
Source§impl FromStr for ContentTransferEncoding
impl FromStr for ContentTransferEncoding
Source§impl Header for ContentTransferEncoding
impl Header for ContentTransferEncoding
Source§fn header_name() -> &'static str
fn header_name() -> &'static str
Returns the name of the header field this belongs to. Read more
Source§fn parse_header(raw: &Raw) -> HyperResult<Self>
fn parse_header(raw: &Raw) -> HyperResult<Self>
Parse a header from a raw stream of bytes. Read more
Source§fn fmt_header(&self, f: &mut HeaderFormatter<'_, '_>) -> FmtResult
fn fmt_header(&self, f: &mut HeaderFormatter<'_, '_>) -> FmtResult
Format a header to outgoing stream. Read more
Source§impl PartialEq for ContentTransferEncoding
impl PartialEq for ContentTransferEncoding
impl StructuralPartialEq for ContentTransferEncoding
Auto Trait Implementations§
impl Freeze for ContentTransferEncoding
impl RefUnwindSafe for ContentTransferEncoding
impl Send for ContentTransferEncoding
impl Sync for ContentTransferEncoding
impl Unpin for ContentTransferEncoding
impl UnwindSafe for ContentTransferEncoding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more