Struct DisabledLockTimeError
pub struct DisabledLockTimeError(/* private fields */);
Expand description
Error returned when a sequence number is parsed as a lock time, but its “disable” flag is set.
Implementations§
§impl DisabledLockTimeError
impl DisabledLockTimeError
pub fn disabled_locktime_value(&self) -> u32
pub fn disabled_locktime_value(&self) -> u32
Accessor for the u32
whose “disable” flag was set, preventing
it from being parsed as a relative locktime.
Trait Implementations§
§impl Clone for DisabledLockTimeError
impl Clone for DisabledLockTimeError
§fn clone(&self) -> DisabledLockTimeError
fn clone(&self) -> DisabledLockTimeError
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 more§impl Debug for DisabledLockTimeError
impl Debug for DisabledLockTimeError
§impl Display for DisabledLockTimeError
impl Display for DisabledLockTimeError
§impl Error for DisabledLockTimeError
impl Error for DisabledLockTimeError
1.30.0 · 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()
§impl PartialEq for DisabledLockTimeError
impl PartialEq for DisabledLockTimeError
impl Eq for DisabledLockTimeError
impl StructuralPartialEq for DisabledLockTimeError
Auto Trait Implementations§
impl Freeze for DisabledLockTimeError
impl RefUnwindSafe for DisabledLockTimeError
impl Send for DisabledLockTimeError
impl Sync for DisabledLockTimeError
impl Unpin for DisabledLockTimeError
impl UnwindSafe for DisabledLockTimeError
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more