Enum totp_rs::TotpUrlError
source · pub enum TotpUrlError {
}Variants§
Url(ParseError)
Scheme(String)
Host(String)
Secret(String)
SecretSize(usize)
Algorithm(String)
Digits(String)
DigitsNumber(usize)
Step(String)
Issuer(String)
IssuerDecoding(String)
IssuerMistmatch(String, String)
AccountName(String)
AccountNameDecoding(String)
Trait Implementations§
source§impl Debug for TotpUrlError
impl Debug for TotpUrlError
source§impl Display for TotpUrlError
impl Display for TotpUrlError
source§impl Error for TotpUrlError
impl Error for TotpUrlError
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()
source§impl From<Rfc6238Error> for TotpUrlError
impl From<Rfc6238Error> for TotpUrlError
source§fn from(e: Rfc6238Error) -> Self
fn from(e: Rfc6238Error) -> Self
Converts to this type from the input type.
source§impl PartialEq<TotpUrlError> for TotpUrlError
impl PartialEq<TotpUrlError> for TotpUrlError
source§fn eq(&self, other: &TotpUrlError) -> bool
fn eq(&self, other: &TotpUrlError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.