#[non_exhaustive]
pub enum FirestoreErrorKind {
Show 17 variants
Cancelled,
Unknown,
InvalidArgument,
DeadlineExceeded,
NotFound,
AlreadyExists,
PermissionDenied,
ResourceExhausted,
FailedPrecondition,
Aborted,
OutOfRange,
Unimplemented,
Internal,
Unavailable,
DataLoss,
Unauthenticated,
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.
Cancelled
Unknown
InvalidArgument
DeadlineExceeded
NotFound
AlreadyExists
PermissionDenied
ResourceExhausted
FailedPrecondition
Aborted
OutOfRange
Unimplemented
Internal
Unavailable
DataLoss
Unauthenticated
Other(String)
Trait Implementations
sourceimpl Clone for FirestoreErrorKind
impl Clone for FirestoreErrorKind
sourcefn clone(&self) -> FirestoreErrorKind
fn clone(&self) -> FirestoreErrorKind
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 FirestoreErrorKind
impl Debug for FirestoreErrorKind
sourceimpl FromStr for FirestoreErrorKind
impl FromStr for FirestoreErrorKind
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl TryFrom<&str> for FirestoreErrorKind
impl TryFrom<&str> for FirestoreErrorKind
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
Auto Trait Implementations
impl RefUnwindSafe for FirestoreErrorKind
impl Send for FirestoreErrorKind
impl Sync for FirestoreErrorKind
impl Unpin for FirestoreErrorKind
impl UnwindSafe for FirestoreErrorKind
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