#[repr(u8)]pub enum DataMode {
Binary = 98,
Text = 116,
Utf8 = 117,
Mime = 109,
Other(u8),
}
Variants§
Trait Implementations§
source§impl FromPrimitive for DataMode
impl FromPrimitive for DataMode
source§impl PartialEq for DataMode
impl PartialEq for DataMode
impl Copy for DataMode
impl Eq for DataMode
impl StructuralPartialEq for DataMode
Auto Trait Implementations§
impl RefUnwindSafe for DataMode
impl Send for DataMode
impl Sync for DataMode
impl Unpin for DataMode
impl UnwindSafe for DataMode
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