#[non_exhaustive]pub enum GeminiErrorKind {
InvalidArgument,
UnsupportedCountry,
PermissionDenied,
ResourceExhausted,
Internal,
ServiceUnavailable,
Other,
}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.
InvalidArgument
UnsupportedCountry
PermissionDenied
ResourceExhausted
Internal
Other
This can be returned due to errors in t serialization etc And not necessarily by the Gemini API
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GeminiErrorKind
impl RefUnwindSafe for GeminiErrorKind
impl Send for GeminiErrorKind
impl Sync for GeminiErrorKind
impl Unpin for GeminiErrorKind
impl UnwindSafe for GeminiErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more