Struct bitcoin_units::amount::TooPreciseError
source · pub struct TooPreciseError { /* private fields */ }
Expand description
Error returned when the input string has higher precision than satoshis.
Trait Implementations§
source§impl Clone for TooPreciseError
impl Clone for TooPreciseError
source§fn clone(&self) -> TooPreciseError
fn clone(&self) -> TooPreciseError
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 TooPreciseError
impl Debug for TooPreciseError
source§impl Display for TooPreciseError
impl Display for TooPreciseError
source§impl Error for TooPreciseError
Available on crate feature std
only.
impl Error for TooPreciseError
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 From<TooPreciseError> for ParseAmountError
impl From<TooPreciseError> for ParseAmountError
source§fn from(value: TooPreciseError) -> Self
fn from(value: TooPreciseError) -> Self
Converts to this type from the input type.
source§impl From<TooPreciseError> for ParseError
impl From<TooPreciseError> for ParseError
source§fn from(e: TooPreciseError) -> Self
fn from(e: TooPreciseError) -> Self
Converts to this type from the input type.
source§impl PartialEq for TooPreciseError
impl PartialEq for TooPreciseError
source§fn eq(&self, other: &TooPreciseError) -> bool
fn eq(&self, other: &TooPreciseError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TooPreciseError
impl StructuralPartialEq for TooPreciseError
Auto Trait Implementations§
impl Freeze for TooPreciseError
impl RefUnwindSafe for TooPreciseError
impl Send for TooPreciseError
impl Sync for TooPreciseError
impl Unpin for TooPreciseError
impl UnwindSafe for TooPreciseError
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
)