Trait sp_consensus::SlotData
source · [−]pub trait SlotData {
const SLOT_KEY: &'static [u8];
fn slot_duration(&self) -> u64;
}
Expand description
A type from which a slot duration can be obtained.
Associated Constants
const SLOT_KEY: &'static [u8]
const SLOT_KEY: &'static [u8]
The static slot key
Required methods
fn slot_duration(&self) -> u64
fn slot_duration(&self) -> u64
Gets the slot duration.