pub enum GenerationError {
MissingMasterPassword,
MissingTextToUse,
}
Expand description
Error returned if the supplied input did not meet expectations.
Variants§
MissingMasterPassword
Password generation failed, because the user did not supply a master password.
MissingTextToUse
Password generation failed, because the user did not supply a text-to-use.
Trait Implementations§
source§impl Clone for GenerationError
impl Clone for GenerationError
source§fn clone(&self) -> GenerationError
fn clone(&self) -> GenerationError
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 GenerationError
impl Debug for GenerationError
source§impl Display for GenerationError
impl Display for GenerationError
source§impl Error for GenerationError
impl Error for GenerationError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()