#[non_exhaustive]pub enum HexCharSet {
Lowercase,
Uppercase,
}Expand description
Determines which characters are used for the Hexadecimal encoding
Note that decoding is permissive,
HexCharSet::Lowercase allows ABCDEF in the decoded string,
and HexCharSet::Uppercase allows abcdef in the decoded string.
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.
Trait Implementations§
Source§impl Clone for HexCharSet
impl Clone for HexCharSet
Source§fn clone(&self) -> HexCharSet
fn clone(&self) -> HexCharSet
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 HexCharSet
impl Debug for HexCharSet
Source§impl PartialEq for HexCharSet
impl PartialEq for HexCharSet
impl Copy for HexCharSet
impl Eq for HexCharSet
impl StructuralPartialEq for HexCharSet
Auto Trait Implementations§
impl Freeze for HexCharSet
impl RefUnwindSafe for HexCharSet
impl Send for HexCharSet
impl Sync for HexCharSet
impl Unpin for HexCharSet
impl UnwindSafe for HexCharSet
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