Function sc_consensus_aura::slot_duration [−][src]
pub fn slot_duration<A, B, C>(client: &C) -> CResult<SlotDuration> where
A: Codec,
B: BlockT,
C: AuxStore + ProvideRuntimeApi<B>,
C::Api: AuraApi<B, A, Error = Error>,
Get type of SlotDuration
for Aura.