Enum sled::Error [−][src]
pub enum Error {
CollectionNotFound(IVec),
Unsupported(String),
ReportableBug(String),
Io(Error),
Corruption {
at: Option<DiskPtr>,
bt: (),
},
}
Expand description
An Error type encapsulating various issues that may come up
in the operation of a Db
.
Variants
CollectionNotFound(IVec)
The underlying collection no longer exists.
Tuple Fields of CollectionNotFound
0: IVec
Unsupported(String)
The system has been used in an unsupported way.
Tuple Fields of Unsupported
0: String
ReportableBug(String)
An unexpected bug has happened. Please open an issue on github!
Tuple Fields of ReportableBug
0: String
Io(Error)
A read or write error has happened when interacting with the file system.
Tuple Fields of Io
0: Error
Corruption has been detected in the storage file.
Fields of Corruption
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more