pub enum Error {
UnknownDatabaseVersion,
FutureDBVersion,
MigrationImpossible,
UseMigrationTool,
BloomsDB(Error),
Io(IoError),
}
Expand description
Migration related erorrs.
Variants
UnknownDatabaseVersion
Returned when current version cannot be read or guessed.
FutureDBVersion
Existing DB is newer than the known one.
MigrationImpossible
Migration is not possible.
UseMigrationTool
For old versions use external migration tool
BloomsDB(Error)
Blooms-db migration error.
Io(IoError)
Migration was completed succesfully, but there was a problem with io.
Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more