Struct ckb_db_migration::Migrations[][src]

pub struct Migrations { /* fields omitted */ }
Expand description

TODO(doc): @quake

Implementations

TODO(doc): @quake

TODO(doc): @quake

Check if database’s version is matched with the executable binary version.

Returns

  • Less: The database version is less than the matched version of the executable binary. Requires migration.
  • Equal: The database version is matched with the executable binary version.
  • Greater: The database version is greater than the matched version of the executable binary. Requires upgrade the executable binary.

Check if the migrations will consume a lot of time.

Initial db verison

TODO(doc): @quake

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

TODO(doc): @quake

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.