Enum vsdbsled::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)
Tuple Fields
0: IVec
The underlying collection no longer exists.
Unsupported(String)
Tuple Fields
0: String
The system has been used in an unsupported way.
ReportableBug(String)
Tuple Fields
0: String
An unexpected bug has happened. Please open an issue on github!
Io(Error)
Tuple Fields
0: Error
A read or write error has happened when interacting with the file system.
Corruption
Fields
at: Option<DiskPtr>
The file location that corrupted data was found at.
bt: ()
A backtrace for where the corruption was encountered.
Corruption has been detected in the storage file.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error
Blanket Implementations
Mutably borrows from an owned value. Read more