#[non_exhaustive]pub enum B64CharSet {
Standard,
UrlSafe,
}Expand description
Determines which characters are used for the Base64 encoding
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.
Standard
Uses these characters:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/UrlSafe
Uses these characters:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_Trait Implementations§
Source§impl Clone for B64CharSet
impl Clone for B64CharSet
Source§fn clone(&self) -> B64CharSet
fn clone(&self) -> B64CharSet
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 B64CharSet
impl Debug for B64CharSet
Source§impl PartialEq for B64CharSet
impl PartialEq for B64CharSet
impl Copy for B64CharSet
impl Eq for B64CharSet
impl StructuralPartialEq for B64CharSet
Auto Trait Implementations§
impl Freeze for B64CharSet
impl RefUnwindSafe for B64CharSet
impl Send for B64CharSet
impl Sync for B64CharSet
impl Unpin for B64CharSet
impl UnwindSafe for B64CharSet
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