pub trait HasChainMetadata {
    // Required method
    fn slot_time(&self) -> SlotTime;
}
Expand description

Objects which can access chain metadata.

Required Methods§

source

fn slot_time(&self) -> SlotTime

Get time in milliseconds at the beginning of this block.

Implementors§