pub enum DecodeBase58Error {
WrongLength {
expected: usize,
actual: usize,
},
InvalidBase58 {
message: String,
},
}Expand description
Error returned when decoding a base58 string into a fixed-width SOF type.
Variants§
WrongLength
Base58 payload did not decode to the expected width.
InvalidBase58
Base58 payload itself was invalid.
Trait Implementations§
Source§impl Clone for DecodeBase58Error
impl Clone for DecodeBase58Error
Source§fn clone(&self) -> DecodeBase58Error
fn clone(&self) -> DecodeBase58Error
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 DecodeBase58Error
impl Debug for DecodeBase58Error
Source§impl Display for DecodeBase58Error
impl Display for DecodeBase58Error
Source§impl Error for DecodeBase58Error
impl Error for DecodeBase58Error
1.30.0 · 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 PartialEq for DecodeBase58Error
impl PartialEq for DecodeBase58Error
impl Eq for DecodeBase58Error
impl StructuralPartialEq for DecodeBase58Error
Auto Trait Implementations§
impl Freeze for DecodeBase58Error
impl RefUnwindSafe for DecodeBase58Error
impl Send for DecodeBase58Error
impl Sync for DecodeBase58Error
impl Unpin for DecodeBase58Error
impl UnsafeUnpin for DecodeBase58Error
impl UnwindSafe for DecodeBase58Error
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