Struct bitcoin::address::InvalidBase58PayloadLengthError
source · pub struct InvalidBase58PayloadLengthError { /* private fields */ }
Expand description
Decoded base58 data was an invalid length.
Implementations§
source§impl InvalidBase58PayloadLengthError
impl InvalidBase58PayloadLengthError
sourcepub fn invalid_base58_payload_length(&self) -> usize
pub fn invalid_base58_payload_length(&self) -> usize
Returns the invalid payload length.
Trait Implementations§
source§impl Clone for InvalidBase58PayloadLengthError
impl Clone for InvalidBase58PayloadLengthError
source§fn clone(&self) -> InvalidBase58PayloadLengthError
fn clone(&self) -> InvalidBase58PayloadLengthError
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 Error for InvalidBase58PayloadLengthError
impl Error for InvalidBase58PayloadLengthError
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<InvalidBase58PayloadLengthError> for ParseError
impl From<InvalidBase58PayloadLengthError> for ParseError
source§fn from(e: InvalidBase58PayloadLengthError) -> Self
fn from(e: InvalidBase58PayloadLengthError) -> Self
Converts to this type from the input type.
source§impl PartialEq<InvalidBase58PayloadLengthError> for InvalidBase58PayloadLengthError
impl PartialEq<InvalidBase58PayloadLengthError> for InvalidBase58PayloadLengthError
source§fn eq(&self, other: &InvalidBase58PayloadLengthError) -> bool
fn eq(&self, other: &InvalidBase58PayloadLengthError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InvalidBase58PayloadLengthError
impl StructuralEq for InvalidBase58PayloadLengthError
impl StructuralPartialEq for InvalidBase58PayloadLengthError
Auto Trait Implementations§
impl RefUnwindSafe for InvalidBase58PayloadLengthError
impl Send for InvalidBase58PayloadLengthError
impl Sync for InvalidBase58PayloadLengthError
impl Unpin for InvalidBase58PayloadLengthError
impl UnwindSafe for InvalidBase58PayloadLengthError
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