pub(super) trait ActorMigration<BS: Blockstore> {
    // Required method
    fn migrate_state(
        &self,
        store: &BS,
        input: ActorMigrationInput,
    ) -> Result<Option<ActorMigrationOutput>>;

    // Provided method
    fn is_deferred(&self) -> bool { ... }
}
Expand description

Trait that defines the interface for actor migration job.

Required Methods§

Provided Methods§

source

fn is_deferred(&self) -> bool

Some migration jobs might need to be deferred to be executed after the regular state migration. These may require some metadata collected during other migrations.

Implementors§

source§

impl<BS> ActorMigration<BS> for forest_filecoin::state_migration::nv17::miner::MinerMigrator
where BS: Blockstore + Send + Sync,

source§

impl<BS: Blockstore> ActorMigration<BS> for forest_filecoin::state_migration::nv17::system::SystemMigrator

source§

impl<BS: Blockstore> ActorMigration<BS> for InitMigrator

source§

impl<BS: Blockstore> ActorMigration<BS> for forest_filecoin::state_migration::nv18::system::SystemMigrator

source§

impl<BS: Blockstore> ActorMigration<BS> for forest_filecoin::state_migration::nv19::miner::MinerMigrator

source§

impl<BS: Blockstore> ActorMigration<BS> for PowerMigrator

source§

impl<BS: Blockstore> ActorMigration<BS> for forest_filecoin::state_migration::nv19::system::SystemMigrator

source§

impl<BS: Blockstore> ActorMigration<BS> for forest_filecoin::state_migration::nv21::miner::MinerMigrator

source§

impl<BS: Blockstore> ActorMigration<BS> for forest_filecoin::state_migration::nv21::system::SystemMigrator

source§

impl<BS: Blockstore> ActorMigration<BS> for forest_filecoin::state_migration::nv21fix2::system::SystemMigrator

source§

impl<BS: Blockstore> ActorMigration<BS> for forest_filecoin::state_migration::nv21fix::system::SystemMigrator

source§

impl<BS: Blockstore> ActorMigration<BS> for MarketMigrator

source§

impl<BS: Blockstore> ActorMigration<BS> for forest_filecoin::state_migration::nv22::miner::MinerMigrator

source§

impl<BS: Blockstore> ActorMigration<BS> for forest_filecoin::state_migration::nv22::system::SystemMigrator

source§

impl<BS: Blockstore> ActorMigration<BS> for forest_filecoin::state_migration::nv22fix::system::SystemMigrator

source§

impl<BS: Blockstore> ActorMigration<BS> for forest_filecoin::state_migration::nv23::system::SystemMigrator

source§

impl<BS: Blockstore> ActorMigration<BS> for DeferredMigrator

source§

impl<BS: Blockstore> ActorMigration<BS> for NilMigrator