pub enum ConsoleEncoding {
Utf16Le,
Utf8,
}Expand description
How decode_console_output read the bytes.
Variants§
Utf16Le
UTF-16 little-endian, with or without a byte-order mark.
Utf8
UTF-8, with or without a byte-order mark.
Trait Implementations§
Source§impl Clone for ConsoleEncoding
impl Clone for ConsoleEncoding
Source§fn clone(&self) -> ConsoleEncoding
fn clone(&self) -> ConsoleEncoding
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 ConsoleEncoding
Source§impl Debug for ConsoleEncoding
impl Debug for ConsoleEncoding
impl Eq for ConsoleEncoding
Source§impl PartialEq for ConsoleEncoding
impl PartialEq for ConsoleEncoding
impl StructuralPartialEq for ConsoleEncoding
Auto Trait Implementations§
impl Freeze for ConsoleEncoding
impl RefUnwindSafe for ConsoleEncoding
impl Send for ConsoleEncoding
impl Sync for ConsoleEncoding
impl Unpin for ConsoleEncoding
impl UnsafeUnpin for ConsoleEncoding
impl UnwindSafe for ConsoleEncoding
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