Struct bdk_chain::bitcoin::address::LegacyAddressTooLongError
pub struct LegacyAddressTooLongError { /* private fields */ }
Expand description
Legacy base58 address was too long, max 50 characters.
Implementations§
§impl LegacyAddressTooLongError
impl LegacyAddressTooLongError
pub fn invalid_legcay_address_length(&self) -> usize
pub fn invalid_legcay_address_length(&self) -> usize
Returns the invalid legacy address length.
Trait Implementations§
§impl Clone for LegacyAddressTooLongError
impl Clone for LegacyAddressTooLongError
§fn clone(&self) -> LegacyAddressTooLongError
fn clone(&self) -> LegacyAddressTooLongError
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 LegacyAddressTooLongError
impl Debug for LegacyAddressTooLongError
§impl Display for LegacyAddressTooLongError
impl Display for LegacyAddressTooLongError
§impl Error for LegacyAddressTooLongError
impl Error for LegacyAddressTooLongError
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<LegacyAddressTooLongError> for ParseError
impl From<LegacyAddressTooLongError> for ParseError
§fn from(e: LegacyAddressTooLongError) -> ParseError
fn from(e: LegacyAddressTooLongError) -> ParseError
Converts to this type from the input type.
§impl PartialEq for LegacyAddressTooLongError
impl PartialEq for LegacyAddressTooLongError
§fn eq(&self, other: &LegacyAddressTooLongError) -> bool
fn eq(&self, other: &LegacyAddressTooLongError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LegacyAddressTooLongError
impl StructuralPartialEq for LegacyAddressTooLongError
Auto Trait Implementations§
impl Freeze for LegacyAddressTooLongError
impl RefUnwindSafe for LegacyAddressTooLongError
impl Send for LegacyAddressTooLongError
impl Sync for LegacyAddressTooLongError
impl Unpin for LegacyAddressTooLongError
impl UnwindSafe for LegacyAddressTooLongError
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