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§
Sourcefn get_parachain_lease_in_blocks(para: ParaId) -> Option<N>
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.
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.