Trait ethcore::snapshot::service::DatabaseRestore [] [src]

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

External database restoration handler

Required Methods

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

Implementors