#[repr(u8)]
pub enum KnownEncoding {
Show 21 variants
Empty,
AppOctetStream,
AppCustom,
TextPlain,
AppProperties,
AppJson,
AppSql,
AppInteger,
AppFloat,
AppXml,
AppXhtmlXml,
AppXWwwFormUrlencoded,
TextJson,
TextHtml,
TextXml,
TextCss,
TextCsv,
TextJavascript,
ImageJpeg,
ImagePng,
ImageGif,
}
Variants
Empty
AppOctetStream
AppCustom
TextPlain
AppProperties
AppJson
AppSql
AppInteger
AppFloat
AppXml
AppXhtmlXml
AppXWwwFormUrlencoded
TextJson
TextHtml
TextXml
TextCss
TextCsv
TextJavascript
ImageJpeg
ImagePng
ImageGif
Trait Implementations
sourceimpl AsRef<str> for KnownEncoding
impl AsRef<str> for KnownEncoding
sourceimpl Clone for KnownEncoding
impl Clone for KnownEncoding
sourcefn clone(&self) -> KnownEncoding
fn clone(&self) -> KnownEncoding
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 KnownEncoding
impl Debug for KnownEncoding
sourceimpl From<&KnownEncoding> for Encoding
impl From<&KnownEncoding> for Encoding
sourcefn from(e: &KnownEncoding) -> Encoding
fn from(e: &KnownEncoding) -> Encoding
Converts to this type from the input type.
sourceimpl From<KnownEncoding> for &str
impl From<KnownEncoding> for &str
sourcefn from(val: KnownEncoding) -> Self
fn from(val: KnownEncoding) -> Self
Converts to this type from the input type.
sourceimpl From<KnownEncoding> for Encoding
impl From<KnownEncoding> for Encoding
sourcefn from(e: KnownEncoding) -> Encoding
fn from(e: KnownEncoding) -> Encoding
Converts to this type from the input type.
sourceimpl From<KnownEncoding> for u8
impl From<KnownEncoding> for u8
sourcefn from(val: KnownEncoding) -> Self
fn from(val: KnownEncoding) -> Self
Converts to this type from the input type.
sourceimpl From<KnownEncoding> for usize
impl From<KnownEncoding> for usize
sourcefn from(val: KnownEncoding) -> Self
fn from(val: KnownEncoding) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<KnownEncoding> for KnownEncoding
impl PartialEq<KnownEncoding> for KnownEncoding
sourcefn eq(&self, other: &KnownEncoding) -> bool
fn eq(&self, other: &KnownEncoding) -> bool
sourceimpl TryFrom<u64> for KnownEncoding
impl TryFrom<u64> for KnownEncoding
sourceimpl TryFrom<u8> for KnownEncoding
impl TryFrom<u8> for KnownEncoding
impl Copy for KnownEncoding
impl Eq for KnownEncoding
impl StructuralEq for KnownEncoding
impl StructuralPartialEq for KnownEncoding
Auto Trait Implementations
impl RefUnwindSafe for KnownEncoding
impl Send for KnownEncoding
impl Sync for KnownEncoding
impl Unpin for KnownEncoding
impl UnwindSafe for KnownEncoding
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