Enum ParseAlphabetError
pub enum ParseAlphabetError
Possible errors when constructing an [Alphabet] from a str.
Variants
-
InvalidLength Alphabets must be 64 ASCII bytes
-
DuplicatedByte(u8) All bytes must be unique
-
UnprintableByte(u8) All bytes must be printable (in the range
[32, 126]).-
ReservedByte(u8) Alphabet cannot contain the pad symbol (
=by default)
Trait Implementations
impl Debug for ParseAlphabetError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for ParseAlphabetError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for ParseAlphabetError
impl Error for ParseAlphabetError
impl PartialEq for ParseAlphabetError
fn eq(&self, other: &Self) -> bool