Enum bonsaidb_local::Error
source · 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>)
An error occurred from backing up or restoring.
CommandLinePassword(ReadPasswordError)
An error occurred with a password hash.
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§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()
source§impl From<AbortError<Infallible>> for Error
impl From<AbortError<Infallible>> for Error
source§fn from(err: AbortError<Infallible>) -> Self
fn from(err: AbortError<Infallible>) -> Self
Converts to this type from the input type.
source§impl From<FromUtf8Error> for Error
impl From<FromUtf8Error> for Error
source§fn from(err: FromUtf8Error) -> Self
fn from(err: FromUtf8Error) -> Self
Converts to this type from the input type.
source§impl From<ReadPasswordError> for Error
impl From<ReadPasswordError> for Error
source§fn from(source: ReadPasswordError) -> Self
fn from(source: ReadPasswordError) -> Self
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§
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