Enum harsh::BuildError [−][src]
pub enum BuildError {
AlphabetLength,
IllegalCharacter(char),
Separator,
}
Expand description
Represents potential errors encountered during Harsh
initialization.
Variants
Error returned when the provided alphabet has insufficient distinct elements
IllegalCharacter(char)
Provided alphabet contains an illegal character
Tuple Fields of IllegalCharacter
0: char
Error returned when a separator character is not found in the alphabet
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for BuildError
impl Send for BuildError
impl Sync for BuildError
impl Unpin for BuildError
impl UnwindSafe for BuildError
Blanket Implementations
Mutably borrows from an owned value. Read more