Enum firebase_wasm::auth::AuthErrorKind
source · #[non_exhaustive]
pub enum AuthErrorKind {
Show 26 variants
AppDeleted,
AppNotAuthorized,
ArgumentError,
InvalidApiKey,
InvalidUserToken,
InvalidTenantId,
NetworkRequestFailed,
OperationNotAllowed,
RequiresRecentLogin,
TooManyRequests,
UnauthorizedDomain,
UserDisabled,
UserTokenExpired,
WebStorageUnsupported,
InvalidEmail,
UserNotFound,
WrongPassword,
EmailAlreadyInUse,
WeakPassword,
MissingAndroidPackageName,
MissingContinueUri,
MissingIOSBundleId,
InvalidContinueUri,
UnauthorizedContinueUri,
ExpiredActionCode,
Other(String),
}
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AppDeleted
AppNotAuthorized
ArgumentError
InvalidApiKey
InvalidUserToken
InvalidTenantId
NetworkRequestFailed
OperationNotAllowed
RequiresRecentLogin
TooManyRequests
UnauthorizedDomain
UserDisabled
UserTokenExpired
WebStorageUnsupported
InvalidEmail
UserNotFound
WrongPassword
EmailAlreadyInUse
WeakPassword
MissingAndroidPackageName
MissingContinueUri
MissingIOSBundleId
InvalidContinueUri
UnauthorizedContinueUri
ExpiredActionCode
Other(String)
Trait Implementations
sourceimpl Clone for AuthErrorKind
impl Clone for AuthErrorKind
sourcefn clone(&self) -> AuthErrorKind
fn clone(&self) -> AuthErrorKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AuthErrorKind
impl Debug for AuthErrorKind
sourceimpl FromStr for AuthErrorKind
impl FromStr for AuthErrorKind
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl TryFrom<&str> for AuthErrorKind
impl TryFrom<&str> for AuthErrorKind
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Auto Trait Implementations
impl RefUnwindSafe for AuthErrorKind
impl Send for AuthErrorKind
impl Sync for AuthErrorKind
impl Unpin for AuthErrorKind
impl UnwindSafe for AuthErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more