referrerpolicy=no-referrer-when-downgrade
polkadot_runtime_parachains::coretime::migration

Trait GetLegacyLease

Source
pub trait GetLegacyLease<N> {
    // Required methods
    fn get_parachain_lease_in_blocks(para: ParaId) -> Option<N>;
    fn get_all_parachains_with_leases() -> Vec<ParaId>;
}
Expand description

Return information about a legacy lease of a parachain.

Required Methods§

Source

fn get_parachain_lease_in_blocks(para: ParaId) -> Option<N>

If parachain is a lease holding parachain, return the block at which the lease expires.

Source

fn get_all_parachains_with_leases() -> Vec<ParaId>

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.

Implementors§