Struct ethcore::migrations::state::OverlayRecentV7
[−]
[src]
pub struct OverlayRecentV7 { /* fields omitted */ }
Version for OverlayRecent
database.
more involved than the archive version because of journaling.
Trait Implementations
impl Default for OverlayRecentV7
[src]
fn default() -> OverlayRecentV7
Returns the "default value" for a type. Read more
impl Migration for OverlayRecentV7
[src]
fn columns(&self) -> Option<u32>
Number of columns in database after the migration.
fn version(&self) -> u32
Version of the database after the migration.
fn migrate(&mut self,
source: Arc<Database>,
config: &Config,
dest: &mut Database,
col: Option<u32>)
-> Result<(), Error>
source: Arc<Database>,
config: &Config,
dest: &mut Database,
col: Option<u32>)
-> Result<(), Error>
Migrate a source to a destination.
fn pre_columns(&self) -> Option<u32>
Number of columns in the database before the migration.