pub enum IsSatisfiedByHeightError {
Satisfaction(InvalidHeightError),
Incompatible(NumberOf512Seconds),
}Expand description
Error returned when is_satisfied_by_height fails.
Variants§
Satisfaction(InvalidHeightError)
Satisfaction of the lock height value failed.
Incompatible(NumberOf512Seconds)
Tried to satisfy a lock-by-height locktime using seconds.
Trait Implementations§
Source§impl Clone for IsSatisfiedByHeightError
impl Clone for IsSatisfiedByHeightError
Source§fn clone(&self) -> IsSatisfiedByHeightError
fn clone(&self) -> IsSatisfiedByHeightError
Returns a duplicate 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 IsSatisfiedByHeightError
impl Debug for IsSatisfiedByHeightError
Source§impl Display for IsSatisfiedByHeightError
impl Display for IsSatisfiedByHeightError
Source§impl Error for IsSatisfiedByHeightError
Available on crate feature std only.
impl Error for IsSatisfiedByHeightError
Available on crate feature
std only.Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for IsSatisfiedByHeightError
impl PartialEq for IsSatisfiedByHeightError
impl Eq for IsSatisfiedByHeightError
impl StructuralPartialEq for IsSatisfiedByHeightError
Auto Trait Implementations§
impl Freeze for IsSatisfiedByHeightError
impl RefUnwindSafe for IsSatisfiedByHeightError
impl Send for IsSatisfiedByHeightError
impl Sync for IsSatisfiedByHeightError
impl Unpin for IsSatisfiedByHeightError
impl UnsafeUnpin for IsSatisfiedByHeightError
impl UnwindSafe for IsSatisfiedByHeightError
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