pub enum Encoding {
Utf8,
Cp437,
ShiftJis,
}
Expand description
Encodings supported by this crate
Variants§
Utf8
UTF-8, opt-in for ZIP files.
Cp437
Codepage 437, also known as OEM-US, PC-8, or DOS Latin US.
This is the fallback if UTF-8 is not specified and no other encoding is auto-detected. It was the original encoding of the zip format.
ShiftJis
Shift JIS, also known as SJIS.
Still in use by some Japanese users as of 2019.
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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)