Trait tp_consensus::SlotData[][src]

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

    fn slot_duration(&self) -> u64;
}

A type from which a slot duration can be obtained.

Associated Constants

const SLOT_KEY: &'static [u8][src]

The static slot key

Loading content...

Required methods

fn slot_duration(&self) -> u64[src]

Gets the slot duration.

Loading content...

Implementations on Foreign Types

impl SlotData for u64[src]

Loading content...

Implementors

Loading content...