pub enum Base58Error {
InvalidCharacter,
UidTooBig,
UidEmpty,
}
Expand description
Error type of Base58 parser.
Variants§
InvalidCharacter
Is returned if the parse finds an invalid character. Contains the character and it’s index in the string.
UidTooBig
UidEmpty
Trait Implementations§
Source§impl Clone for Base58Error
impl Clone for Base58Error
Source§fn clone(&self) -> Base58Error
fn clone(&self) -> Base58Error
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 Base58Error
impl Debug for Base58Error
Source§impl Display for Base58Error
impl Display for Base58Error
Source§impl Error for Base58Error
impl Error for Base58Error
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
impl Copy for Base58Error
Auto Trait Implementations§
impl Freeze for Base58Error
impl RefUnwindSafe for Base58Error
impl Send for Base58Error
impl Sync for Base58Error
impl Unpin for Base58Error
impl UnwindSafe for Base58Error
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