Type Alias sapio_base::timelocks::AbsTime

source ·
pub type AbsTime = LockTime<Abs, MTP>;
Expand description

LockTime for Absolute MTP

Aliased Type§

struct AbsTime(/* private fields */);

Trait Implementations§

source§

impl TryFrom<Duration> for AbsTime

§

type Error = LockTimeError

The type returned in the event of a conversion error.
source§

fn try_from(u: Duration) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<u32> for AbsTime

§

type Error = LockTimeError

The type returned in the event of a conversion error.
source§

fn try_from(t: u32) -> Result<Self, Self::Error>

Performs the conversion.