Struct bitcoin_units::locktime::relative::TimeOverflowError
source · pub struct TimeOverflowError { /* private fields */ }
Available on crate feature
alloc
only.Expand description
Input time in seconds was too large to be encoded to a 16 bit 512 second interval.
Implementations§
Trait Implementations§
source§impl Clone for TimeOverflowError
impl Clone for TimeOverflowError
source§fn clone(&self) -> TimeOverflowError
fn clone(&self) -> TimeOverflowError
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 TimeOverflowError
impl Debug for TimeOverflowError
source§impl Display for TimeOverflowError
impl Display for TimeOverflowError
source§impl Error for TimeOverflowError
Available on crate feature std
only.
impl Error for TimeOverflowError
Available on crate feature
std
only.1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 TimeOverflowError
impl PartialEq for TimeOverflowError
source§fn eq(&self, other: &TimeOverflowError) -> bool
fn eq(&self, other: &TimeOverflowError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TimeOverflowError
impl StructuralPartialEq for TimeOverflowError
Auto Trait Implementations§
impl Freeze for TimeOverflowError
impl RefUnwindSafe for TimeOverflowError
impl Send for TimeOverflowError
impl Sync for TimeOverflowError
impl Unpin for TimeOverflowError
impl UnwindSafe for TimeOverflowError
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)