pub struct AmountDecoderError(/* private fields */);Expand description
An error consensus decoding an Amount.
Trait Implementations§
Source§impl Clone for AmountDecoderError
impl Clone for AmountDecoderError
Source§fn clone(&self) -> AmountDecoderError
fn clone(&self) -> AmountDecoderError
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 AmountDecoderError
impl Debug for AmountDecoderError
Source§impl Display for AmountDecoderError
Available on crate feature encoding only.
impl Display for AmountDecoderError
Available on crate feature
encoding only.Source§impl Error for AmountDecoderError
Available on crate features std and encoding only.
impl Error for AmountDecoderError
Available on crate features
std and encoding 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 From<Infallible> for AmountDecoderError
Available on crate feature encoding only.
impl From<Infallible> for AmountDecoderError
Available on crate feature
encoding only.Source§fn from(never: Infallible) -> Self
fn from(never: Infallible) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AmountDecoderError
impl PartialEq for AmountDecoderError
impl Eq for AmountDecoderError
impl StructuralPartialEq for AmountDecoderError
Auto Trait Implementations§
impl Freeze for AmountDecoderError
impl RefUnwindSafe for AmountDecoderError
impl Send for AmountDecoderError
impl Sync for AmountDecoderError
impl Unpin for AmountDecoderError
impl UnsafeUnpin for AmountDecoderError
impl UnwindSafe for AmountDecoderError
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