Trait tc_consensus_slots::SlotCompatible[][src]

pub trait SlotCompatible {
    fn extract_timestamp_and_slot(
        &self,
        inherent: &InherentData
    ) -> Result<(u64, Slot, Duration), Error>; }

Slot compatible inherent data.

Required methods

fn extract_timestamp_and_slot(
    &self,
    inherent: &InherentData
) -> Result<(u64, Slot, Duration), Error>
[src]

Extract timestamp and slot from inherent data.

Loading content...

Implementors

Loading content...