Struct sapio_base::timelocks::LockTime[][src]

pub struct LockTime<RelOrAbs: Absolutivity, HeightOrTime: TimeType>(_, _);

LockTime represents either a nLockTime or a Sequence field. They are represented generically in the same type

Implementations

impl<A, TT> LockTime<A, TT> where
    A: Absolutivity,
    TT: TimeType
[src]

pub fn get(&self) -> u32[src]

Trait Implementations

impl<RelOrAbs: Clone + Absolutivity, HeightOrTime: Clone + TimeType> Clone for LockTime<RelOrAbs, HeightOrTime>[src]

impl<RelOrAbs: Copy + Absolutivity, HeightOrTime: Copy + TimeType> Copy for LockTime<RelOrAbs, HeightOrTime>[src]

impl<'de, RelOrAbs: Absolutivity, HeightOrTime: TimeType> Deserialize<'de> for LockTime<RelOrAbs, HeightOrTime>[src]

impl<RelOrAbs: Eq + Absolutivity, HeightOrTime: Eq + TimeType> Eq for LockTime<RelOrAbs, HeightOrTime>[src]

impl<A, TT> From<LockTime<A, TT>> for Clause where
    A: Absolutivity,
    TT: TimeType
[src]

impl From<LockTime<Abs, Height>> for AnyAbsTimeLock[src]

impl From<LockTime<Abs, MTP>> for AnyAbsTimeLock[src]

impl From<LockTime<Rel, Height>> for AnyRelTimeLock[src]

impl From<LockTime<Rel, MTP>> for AnyRelTimeLock[src]

impl<RelOrAbs: Absolutivity + JsonSchema, HeightOrTime: TimeType + JsonSchema> JsonSchema for LockTime<RelOrAbs, HeightOrTime>[src]

impl<RelOrAbs: Ord + Absolutivity, HeightOrTime: Ord + TimeType> Ord for LockTime<RelOrAbs, HeightOrTime>[src]

impl<RelOrAbs: PartialEq + Absolutivity, HeightOrTime: PartialEq + TimeType> PartialEq<LockTime<RelOrAbs, HeightOrTime>> for LockTime<RelOrAbs, HeightOrTime>[src]

impl<RelOrAbs: PartialOrd + Absolutivity, HeightOrTime: PartialOrd + TimeType> PartialOrd<LockTime<RelOrAbs, HeightOrTime>> for LockTime<RelOrAbs, HeightOrTime>[src]

impl<RelOrAbs: Absolutivity, HeightOrTime: TimeType> Serialize for LockTime<RelOrAbs, HeightOrTime>[src]

impl<RelOrAbs: Absolutivity, HeightOrTime: TimeType> StructuralEq for LockTime<RelOrAbs, HeightOrTime>[src]

impl<RelOrAbs: Absolutivity, HeightOrTime: TimeType> StructuralPartialEq for LockTime<RelOrAbs, HeightOrTime>[src]

Auto Trait Implementations

impl<RelOrAbs, HeightOrTime> RefUnwindSafe for LockTime<RelOrAbs, HeightOrTime> where
    HeightOrTime: RefUnwindSafe,
    RelOrAbs: RefUnwindSafe

impl<RelOrAbs, HeightOrTime> Send for LockTime<RelOrAbs, HeightOrTime> where
    HeightOrTime: Send,
    RelOrAbs: Send

impl<RelOrAbs, HeightOrTime> Sync for LockTime<RelOrAbs, HeightOrTime> where
    HeightOrTime: Sync,
    RelOrAbs: Sync

impl<RelOrAbs, HeightOrTime> Unpin for LockTime<RelOrAbs, HeightOrTime> where
    HeightOrTime: Unpin,
    RelOrAbs: Unpin

impl<RelOrAbs, HeightOrTime> UnwindSafe for LockTime<RelOrAbs, HeightOrTime> where
    HeightOrTime: UnwindSafe,
    RelOrAbs: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.