pub enum InputMode {
Text,
Binary,
}
Expand description
A flag that controls how to treat the input when encoding.
Variants§
Text
Treat the input as text, and don’t encode CRLF pairs.
Binary
Treat the input as binary, and encode all CRLF pairs.
Trait Implementations§
Source§impl Ord for InputMode
impl Ord for InputMode
Source§impl PartialOrd for InputMode
impl PartialOrd for InputMode
impl Eq for InputMode
impl StructuralPartialEq for InputMode
Auto Trait Implementations§
impl Freeze for InputMode
impl RefUnwindSafe for InputMode
impl Send for InputMode
impl Sync for InputMode
impl Unpin for InputMode
impl UnwindSafe for InputMode
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