Struct migration_rocksdb::Manager
source · [−]pub struct Manager { /* private fields */ }
Expand description
Manages database migration.
Implementations
sourceimpl Manager
impl Manager
sourcepub fn add_migration<T>(&mut self, migration: T) -> Result<()> where
T: Migration,
pub fn add_migration<T>(&mut self, migration: T) -> Result<()> where
T: Migration,
Adds new migration rules.
Auto Trait Implementations
impl !RefUnwindSafe for Manager
impl !Send for Manager
impl !Sync for Manager
impl Unpin for Manager
impl !UnwindSafe for Manager
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