BlockDate

Trait BlockDate 

Source
pub trait BlockDate:
    Eq
    + Ord
    + Clone {
    // Required method
    fn from_epoch_slot_id(epoch: u32, slot_id: u32) -> Self;
}
Expand description

A trait representing block dates.

Required Methods§

Source

fn from_epoch_slot_id(epoch: u32, slot_id: u32) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§