pub enum Encoding {
Ascii,
Cp500,
}Expand description
The record’s declared character encoding (KOBOLD.DATA.3). Never auto-detected — the caller
states it. Cp500 decodes alphanumeric DISPLAY fields through the sealed GNURUST.15 table;
binary and packed fields are raw storage domains and are never text-converted.
Variants§
Ascii
Native ASCII (the default): DISPLAY bytes are already the logical characters.
Cp500
EBCDIC cp500 (ebcdic500_ascii8bit): alphanumeric DISPLAY fields are decoded via the sealed
GNURUST.15 table. Numeric DISPLAY (EBCDIC zoned) is deferred and fails closed.
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