Enum dittolive_ditto::error::ErrorKind
source · [−]pub enum ErrorKind {
Authentication,
Config,
Ffi,
Internal,
InvalidInput,
IO,
License,
NotActivated,
NonExtant,
ReleasedDittoInstance,
}
Variants
Authentication
Configured Authentication provider was not found or failed to authenticate
Config
Required configuration was missing or invalid
Ffi
Error originated in the FFI layer
Internal
An error occurred in Ditto’s internals
InvalidInput
Provided parameters or data are not valid
IO
Error with the local file system or networking
License
The Ditto license is missing, expired, or otherwise invalid
NotActivated
Ditto sync was started without a valid license
NonExtant
The requested resource no longer exists (i.e. lost or destroyed) Used typically for empty query results
ReleasedDittoInstance
Implementations
Trait Implementations
sourceimpl From<ErrorKind> for DittoError
impl From<ErrorKind> for DittoError
sourcefn from(kind: ErrorKind) -> DittoError
fn from(kind: ErrorKind) -> DittoError
Converts to this type from the input type.
sourceimpl Ord for ErrorKind
impl Ord for ErrorKind
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<ErrorKind> for ErrorKind
impl PartialOrd<ErrorKind> for ErrorKind
sourcefn partial_cmp(&self, other: &ErrorKind) -> Option<Ordering>
fn partial_cmp(&self, other: &ErrorKind) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralEq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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