Struct bdk_chain::bitcoin::base58::error::TooShortError
pub struct TooShortError { /* private fields */ }
Expand description
The decode base58 data was too short (require at least 4 bytes for checksum).
Implementations§
§impl TooShortError
impl TooShortError
pub fn invalid_base58_length(&self) -> usize
pub fn invalid_base58_length(&self) -> usize
Returns the invalid base58 string length (require at least 4 bytes for checksum).
Trait Implementations§
§impl Clone for TooShortError
impl Clone for TooShortError
§fn clone(&self) -> TooShortError
fn clone(&self) -> TooShortError
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 TooShortError
impl Debug for TooShortError
§impl Display for TooShortError
impl Display for TooShortError
§impl Error for TooShortError
impl Error for TooShortError
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()
§impl From<TooShortError> for Error
impl From<TooShortError> for Error
§fn from(e: TooShortError) -> Error
fn from(e: TooShortError) -> Error
Converts to this type from the input type.
§impl PartialEq for TooShortError
impl PartialEq for TooShortError
§fn eq(&self, other: &TooShortError) -> bool
fn eq(&self, other: &TooShortError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for TooShortError
impl StructuralPartialEq for TooShortError
Auto Trait Implementations§
impl Freeze for TooShortError
impl RefUnwindSafe for TooShortError
impl Send for TooShortError
impl Sync for TooShortError
impl Unpin for TooShortError
impl UnwindSafe for TooShortError
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
§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