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§