pub trait OnIdle<BlockNumber> {
// Provided method
fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight { ... }
}
Expand description
See Hooks::on_idle
.
Provided Methodsยง
Sourcefn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
fn on_idle(_n: BlockNumber, _remaining_weight: Weight) -> Weight
See Hooks::on_idle
.
Dyn Compatibilityยง
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.