referrerpolicy=no-referrer-when-downgrade
pub trait MigrationStatusHandler {
    // Provided methods
    fn started() { ... }
    fn completed() { ... }
}
Expand description

Notification handler for status updates regarding Multi-Block-Migrations.

Provided Methods§

source

fn started()

Notifies of the start of a runtime migration.

source

fn completed()

Notifies of the completion of a runtime migration.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl MigrationStatusHandler for ()

source§

fn started()

Notifies of the start of a runtime migration.

source§

fn completed()

Notifies of the completion of a runtime migration.

source§

impl<TupleElement0: MigrationStatusHandler> MigrationStatusHandler for (TupleElement0,)

source§

fn started()

Notifies of the start of a runtime migration.

source§

fn completed()

Notifies of the completion of a runtime migration.

source§

impl<TupleElement0: MigrationStatusHandler, TupleElement1: MigrationStatusHandler> MigrationStatusHandler for (TupleElement0, TupleElement1)

source§

fn started()

Notifies of the start of a runtime migration.

source§

fn completed()

Notifies of the completion of a runtime migration.

source§

impl<TupleElement0: MigrationStatusHandler, TupleElement1: MigrationStatusHandler, TupleElement2: MigrationStatusHandler> MigrationStatusHandler for (TupleElement0, TupleElement1, TupleElement2)

source§

fn started()

Notifies of the start of a runtime migration.

source§

fn completed()

Notifies of the completion of a runtime migration.

source§

impl<TupleElement0: MigrationStatusHandler, TupleElement1: MigrationStatusHandler, TupleElement2: MigrationStatusHandler, TupleElement3: MigrationStatusHandler> MigrationStatusHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)

source§

fn started()

Notifies of the start of a runtime migration.

source§

fn completed()

Notifies of the completion of a runtime migration.

source§

impl<TupleElement0: MigrationStatusHandler, TupleElement1: MigrationStatusHandler, TupleElement2: MigrationStatusHandler, TupleElement3: MigrationStatusHandler, TupleElement4: MigrationStatusHandler> MigrationStatusHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)

source§

fn started()

Notifies of the start of a runtime migration.

source§

fn completed()

Notifies of the completion of a runtime migration.

source§

impl<TupleElement0: MigrationStatusHandler, TupleElement1: MigrationStatusHandler, TupleElement2: MigrationStatusHandler, TupleElement3: MigrationStatusHandler, TupleElement4: MigrationStatusHandler, TupleElement5: MigrationStatusHandler> MigrationStatusHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)

source§

fn started()

Notifies of the start of a runtime migration.

source§

fn completed()

Notifies of the completion of a runtime migration.

source§

impl<TupleElement0: MigrationStatusHandler, TupleElement1: MigrationStatusHandler, TupleElement2: MigrationStatusHandler, TupleElement3: MigrationStatusHandler, TupleElement4: MigrationStatusHandler, TupleElement5: MigrationStatusHandler, TupleElement6: MigrationStatusHandler> MigrationStatusHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)

source§

fn started()

Notifies of the start of a runtime migration.

source§

fn completed()

Notifies of the completion of a runtime migration.

source§

impl<TupleElement0: MigrationStatusHandler, TupleElement1: MigrationStatusHandler, TupleElement2: MigrationStatusHandler, TupleElement3: MigrationStatusHandler, TupleElement4: MigrationStatusHandler, TupleElement5: MigrationStatusHandler, TupleElement6: MigrationStatusHandler, TupleElement7: MigrationStatusHandler> MigrationStatusHandler for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)

source§

fn started()

Notifies of the start of a runtime migration.

source§

fn completed()

Notifies of the completion of a runtime migration.

Implementors§