pub enum Error {
}
Expand description
Errors that can occur from interacting with storage.
Variants§
Nebari(Error)
An error occurred interacting with the storage layer, nebari
.
Serialization(Error)
An error occurred serializing the contents of a Document
or results of a View
.
InternalCommunication
An internal error occurred while waiting for or sending a message.
TransactionTooLarge
A transaction was too large to execute.
View(Error)
An error occurred while executing a view
Vault(Error)
An error occurred in the secrets storage layer.
Compression(DecompressError)
An error occurred decompressing a stored value.
Core(Error)
An core error occurred.
TaskJoin(JoinError)
A tokio task failed to execute.
Io(Error)
An io error occurred.
Job(Arc<Error>)
An error occurred from a job and couldn’t be unwrapped due to clones.
Backup(Box<dyn AnyError, Global>)
An error occurred from backing up or restoring.
CommandLinePassword(ReadPasswordError)
An error occurred with a password hash.
Trait Implementations§
§impl Error for Error
impl Error for Error
§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()
§impl From<AbortError<Infallible>> for Error
impl From<AbortError<Infallible>> for Error
§fn from(err: AbortError<Infallible>) -> Error
fn from(err: AbortError<Infallible>) -> Error
Converts to this type from the input type.
§impl From<Disconnected> for Error
impl From<Disconnected> for Error
§fn from(_: Disconnected) -> Error
fn from(_: Disconnected) -> Error
Converts to this type from the input type.
source§impl<E> From<Error> for BackendError<E>
impl<E> From<Error> for BackendError<E>
source§fn from(err: Error) -> BackendError<E>
fn from(err: Error) -> BackendError<E>
Converts to this type from the input type.
source§impl<E> From<Error> for HandlerError<E>where
E: ApiError,
impl<E> From<Error> for HandlerError<E>where E: ApiError,
source§fn from(err: Error) -> HandlerError<E>
fn from(err: Error) -> HandlerError<E>
Converts to this type from the input type.
§impl From<FromUtf8Error> for Error
impl From<FromUtf8Error> for Error
§fn from(err: FromUtf8Error) -> Error
fn from(err: FromUtf8Error) -> Error
Converts to this type from the input type.
§impl<T> From<InsertError<T>> for Error
impl<T> From<InsertError<T>> for Error
§fn from(err: InsertError<T>) -> Error
fn from(err: InsertError<T>) -> Error
Converts to this type from the input type.
§impl From<InvalidNameError> for Error
impl From<InvalidNameError> for Error
§fn from(err: InvalidNameError) -> Error
fn from(err: InvalidNameError) -> Error
Converts to this type from the input type.
§impl From<PermissionDenied> for Error
impl From<PermissionDenied> for Error
§fn from(err: PermissionDenied) -> Error
fn from(err: PermissionDenied) -> Error
Converts to this type from the input type.
§impl From<ReadPasswordError> for Error
impl From<ReadPasswordError> for Error
§fn from(source: ReadPasswordError) -> Error
fn from(source: ReadPasswordError) -> Error
Converts to this type from the input type.
§impl From<TryReceiveError> for Error
impl From<TryReceiveError> for Error
§fn from(_: TryReceiveError) -> Error
fn from(_: TryReceiveError) -> Error
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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