Enum emerald_rs::keystore::SerializeError
[−]
[src]
pub enum SerializeError { UnsupportedVersion(u8), IO(Error), InvalidDecoding(DecoderError), InvalidEncoding(EncoderError), NotFound, InvalidCrypto(String), }
Keystore file serialize errors
Variants
UnsupportedVersion(u8)
An unsupported version
IO(Error)
IO errors
InvalidDecoding(DecoderError)
Invalid Keyfile
decoding
InvalidEncoding(EncoderError)
Invalid Keyfile
encoding
NotFound
KeyFile
wasn't found
InvalidCrypto(String)
Keyfile
crypto section parsing
Trait Implementations
impl Debug for Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<Error> for Error
[src]
impl From<Error> for Error
[src]
impl From<EncoderError> for Error
[src]
fn from(err: EncoderError) -> Self
[src]
Performs the conversion.
impl From<DecoderError> for Error
[src]
fn from(err: DecoderError) -> Self
[src]
Performs the conversion.
impl Display for Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more
impl From<SerializeError> for KeystoreError
[src]
fn from(err: SerializeError) -> Self
[src]
Performs the conversion.