pub enum TimelockParseError {
    InvalidNumber(ParseIntError),
    InvalidHeight(u32),
    InvalidTimestamp(u32),
    InvalidDescriptor(String),
    NoRand,
}Variants§
InvalidNumber(ParseIntError)
invalid number in time lock descriptor
InvalidHeight(u32)
block height {0} is too large for time lock
InvalidTimestamp(u32)
timestamp {0} is too small for time lock
InvalidDescriptor(String)
time lock descriptor {0} is not recognized
NoRand
use of randomly-generated RBF sequence numbers requires compilation
with rand feature
Trait Implementations§
Source§impl Clone for TimelockParseError
 
impl Clone for TimelockParseError
Source§fn clone(&self) -> TimelockParseError
 
fn clone(&self) -> TimelockParseError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for TimelockParseError
 
impl Debug for TimelockParseError
Source§impl Display for TimelockParseError
 
impl Display for TimelockParseError
Source§impl From<ParseIntError> for TimelockParseError
 
impl From<ParseIntError> for TimelockParseError
Source§fn from(v: ParseIntError) -> TimelockParseError
 
fn from(v: ParseIntError) -> TimelockParseError
Converts to this type from the input type.
Source§impl PartialEq for TimelockParseError
 
impl PartialEq for TimelockParseError
impl Eq for TimelockParseError
impl StructuralPartialEq for TimelockParseError
Auto Trait Implementations§
impl Freeze for TimelockParseError
impl RefUnwindSafe for TimelockParseError
impl Send for TimelockParseError
impl Sync for TimelockParseError
impl Unpin for TimelockParseError
impl UnwindSafe for TimelockParseError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.