AbsTime

Type Alias AbsTime 

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

LockTime for Absolute MTP

Aliased Type§

pub struct AbsTime(/* private fields */);

Trait Implementations§

Source§

impl TryFrom<Duration> for AbsTime

Source§

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

Source§

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.