Enum google_authenticator::GAError [−][src]
pub enum GAError {
Error(&'static str),
}
Expand description
Represents any of the reasons why using 2fa with Google Authenenticator can fail.
Variants
Error(&'static str)
An error in the logic of the QR code. Contains a static string with the error message.
Tuple Fields of Error
0: &'static str
Trait Implementations
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
👎 Deprecated since 1.33.0:
replaced by Error::source, which can support downcasting
The lower-level source of this error, if any. Read more