Trait client_traits::DatabaseRestore[][src]

pub trait DatabaseRestore: Send + Sync {
    fn restore_db(&self, new_db: &str) -> Result<(), VapcoreError>;
}

External database restoration handler

Required methods

fn restore_db(&self, new_db: &str) -> Result<(), VapcoreError>[src]

Restart with a new backend. Takes ownership of passed database and moves it to a new location.

Loading content...

Implementors

Loading content...