pallet_domains

Trait BlockSlot

Source
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§

Source

fn future_slot(block_number: BlockNumberFor<T>) -> Option<Slot>

Source

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.

Implementors§