#[non_exhaustive]pub enum TextEncoding {
Latin1,
EbcdicCp037,
EbcdicCp500,
EbcdicCp1140,
EbcdicCp1145,
}Expand description
Text encoding applied to MTIs, length prefixes, and textual fields.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Latin1
ISO-8859-1, where every byte maps to the same Unicode code point.
EbcdicCp037
IBM EBCDIC code page 037 (US/Canada).
EbcdicCp500
IBM EBCDIC code page 500 (International Latin-1).
EbcdicCp1140
IBM EBCDIC code page 1140 (CP037 with the euro sign).
EbcdicCp1145
IBM EBCDIC code page 1145 (Latin America and Spain with euro sign).
Implementations§
Trait Implementations§
Source§impl Clone for TextEncoding
impl Clone for TextEncoding
impl Copy for TextEncoding
Source§impl Debug for TextEncoding
impl Debug for TextEncoding
Source§impl Default for TextEncoding
impl Default for TextEncoding
impl Eq for TextEncoding
Source§impl PartialEq for TextEncoding
impl PartialEq for TextEncoding
Source§impl Serialize for TextEncoding
impl Serialize for TextEncoding
impl StructuralPartialEq for TextEncoding
Auto Trait Implementations§
impl Forget for TextEncoding
impl Freeze for TextEncoding
impl Move for TextEncoding
impl RefUnwindSafe for TextEncoding
impl Send for TextEncoding
impl Sync for TextEncoding
impl Unpin for TextEncoding
impl UnsafeUnpin for TextEncoding
impl UnwindSafe for TextEncoding
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.