Enum duniter_keys::BaseConvertionError
[−]
[src]
pub enum BaseConvertionError { InvalidKeyLendth(usize, usize), InvalidCharacter(char, usize), InvalidBaseConverterLength(), }
Errors enumeration for Base58/64 strings convertion.
Variants
InvalidKeyLendth(usize, usize)
Data have invalid key length (found, expected).
InvalidCharacter(char, usize)
Base58 have an invalid character.
InvalidBaseConverterLength()
Base58 have invalid lendth
Trait Implementations
impl Clone for BaseConvertionError
[src]
fn clone(&self) -> BaseConvertionError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for BaseConvertionError
[src]
impl Debug for BaseConvertionError
[src]
impl PartialEq for BaseConvertionError
[src]
fn eq(&self, __arg_0: &BaseConvertionError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BaseConvertionError) -> bool
[src]
This method tests for !=
.