RelTime

Type Alias RelTime 

Source
pub type RelTime = LockTime<Rel, MTP>;
Expand description

LockTime for Relative MTP

Aliased Type§

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

Trait Implementations§

Source§

impl From<u16> for RelTime

Source§

fn from(u: u16) -> Self

Converts to this type from the input type.
Source§

impl TryFrom<Duration> for RelTime

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.