Struct base58ck::error::TooShortError
source · pub struct TooShortError { /* private fields */ }
Expand description
The decode base58 data was too short (require at least 4 bytes for checksum).
Implementations§
source§impl TooShortError
impl TooShortError
sourcepub 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§
source§impl Clone for TooShortError
impl Clone for TooShortError
source§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 moresource§impl Debug for TooShortError
impl Debug for TooShortError
source§impl Display for TooShortError
impl Display for TooShortError
source§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()
source§impl From<TooShortError> for Error
impl From<TooShortError> for Error
source§fn from(e: TooShortError) -> Self
fn from(e: TooShortError) -> Self
Converts to this type from the input type.
source§impl PartialEq<TooShortError> for TooShortError
impl PartialEq<TooShortError> for TooShortError
source§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 StructuralEq for TooShortError
impl StructuralPartialEq for TooShortError
Auto Trait Implementations§
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