pub trait BlockDateFromCardanoAbsoluteSlotNo {
    // Required methods
    fn from_absolute_slot_no(absolute_slot_no: u64) -> Self;
    fn to_absolute_slot_no(self) -> u64;
}
Expand description

Basic converter from absolute slot number and {epoch,slot} pair

Required Methods§

source

fn from_absolute_slot_no(absolute_slot_no: u64) -> Self

Converts absolute slot number to block date

source

fn to_absolute_slot_no(self) -> u64

Converts epoch/slot representation to absolute slot number

Implementations on Foreign Types§

source§

impl BlockDateFromCardanoAbsoluteSlotNo for BlockDate

source§

fn from_absolute_slot_no(absolute_slot_no: u64) -> Self

source§

fn to_absolute_slot_no(self) -> u64

Implementors§