pub trait BlockSlot<T: Config> {
// Required methods
fn future_slot(block_number: BlockNumberFor<T>) -> Option<Slot>;
fn slot_produced_after(to_check: Slot) -> Option<BlockNumberFor<T>>;
}
Required Methods§
fn future_slot(block_number: BlockNumberFor<T>) -> Option<Slot>
fn slot_produced_after(to_check: Slot) -> Option<BlockNumberFor<T>>
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.