Expand description
Layout migration helpers.
Structs§
- Migration
Edge - One step in a layout’s migration chain.
Traits§
- Layout
Migration - Layouts opt into in-place migration by providing a
MIGRATIONSconstant. The default (empty slice) means “no migrations declared” and any mismatch between header andAccountLayout::SCHEMA_EPOCHis a hard failure.
Functions§
- apply_
pending_ migrations - Apply all pending migrations needed to bring the account at
current_epochup toAccountLayout::SCHEMA_EPOCH.