Trait sp_consensus::SlotData[][src]

pub trait SlotData {
    const SLOT_KEY: &'static [u8];

    fn slot_duration(&self) -> Duration;
}
Expand description

A type from which a slot duration can be obtained.

Associated Constants

The static slot key

Required methods

Gets the slot duration.

Implementors