pub enum ContentTypeClass {
Assigned(ContentType),
Unassigned,
}Expand description
The exact current classification of one wire byte.
Variants§
Assigned(ContentType)
A currently assigned code.
Unassigned
An unassigned code retained without coercion.
Trait Implementations§
Source§impl Clone for ContentTypeClass
impl Clone for ContentTypeClass
Source§fn clone(&self) -> ContentTypeClass
fn clone(&self) -> ContentTypeClass
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 ContentTypeClass
Source§impl Debug for ContentTypeClass
impl Debug for ContentTypeClass
impl Eq for ContentTypeClass
Source§impl Hash for ContentTypeClass
impl Hash for ContentTypeClass
Source§impl PartialEq for ContentTypeClass
impl PartialEq for ContentTypeClass
impl StructuralPartialEq for ContentTypeClass
Auto Trait Implementations§
impl Freeze for ContentTypeClass
impl RefUnwindSafe for ContentTypeClass
impl Send for ContentTypeClass
impl Sync for ContentTypeClass
impl Unpin for ContentTypeClass
impl UnsafeUnpin for ContentTypeClass
impl UnwindSafe for ContentTypeClass
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