pub enum CharacterSet {
Standard,
UrlSafe,
Crypt,
}
Expand description
Available encoding character sets
Variants§
Standard
The standard character set (uses +
and /
).
See RFC 3548.
UrlSafe
The URL safe character set (uses -
and _
).
See RFC 3548.
Crypt
The crypt(3)
character set (uses ./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
).
Not standardized, but folk wisdom on the net asserts that this alphabet is what crypt uses.
Trait Implementations§
Source§impl Clone for CharacterSet
impl Clone for CharacterSet
Source§fn clone(&self) -> CharacterSet
fn clone(&self) -> CharacterSet
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 moreSource§impl Debug for CharacterSet
impl Debug for CharacterSet
impl Copy for CharacterSet
Auto Trait Implementations§
impl Freeze for CharacterSet
impl RefUnwindSafe for CharacterSet
impl Send for CharacterSet
impl Sync for CharacterSet
impl Unpin for CharacterSet
impl UnwindSafe for CharacterSet
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)