pub enum DetectedEncoding {
Utf8,
Latin1,
Windows1252,
Unknown(String),
}Expand description
Detected encoding from environment.
Variants§
Utf8
UTF-8 encoding.
Latin1
ISO-8859-1 (Latin-1).
Windows1252
Windows-1252.
Unknown(String)
Unknown encoding (contains the locale string).
Implementations§
Trait Implementations§
Source§impl Clone for DetectedEncoding
impl Clone for DetectedEncoding
Source§fn clone(&self) -> DetectedEncoding
fn clone(&self) -> DetectedEncoding
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DetectedEncoding
impl Debug for DetectedEncoding
Source§impl PartialEq for DetectedEncoding
impl PartialEq for DetectedEncoding
impl Eq for DetectedEncoding
impl StructuralPartialEq for DetectedEncoding
Auto Trait Implementations§
impl Freeze for DetectedEncoding
impl RefUnwindSafe for DetectedEncoding
impl Send for DetectedEncoding
impl Sync for DetectedEncoding
impl Unpin for DetectedEncoding
impl UnwindSafe for DetectedEncoding
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