Enum const_base::B64CharSet
source · #[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 copy 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 more