pub enum Encoding {
Utf8,
Utf16Le,
Utf16Be,
Utf32Le,
Utf32Be,
Declared(DeclaredEncoding),
Unknown,
}Expand description
Encoding detected by probe_encoding().
Variants§
Utf8
Utf16Le
Utf16Be
Utf32Le
Utf32Be
Declared(DeclaredEncoding)
Encoding declared in the XML declaration but not detectable from BOM.
Unknown
Could not determine encoding (e.g. empty or insufficient data).
Trait Implementations§
impl Copy for Encoding
impl Eq for Encoding
impl StructuralPartialEq for Encoding
Auto Trait Implementations§
impl Freeze for Encoding
impl RefUnwindSafe for Encoding
impl Send for Encoding
impl Sync for Encoding
impl Unpin for Encoding
impl UnsafeUnpin for Encoding
impl UnwindSafe for Encoding
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