Enum ssb_keyfile::KeyfileError [] [src]

pub enum KeyfileError {
    FileError(Error),
    JsonError(JsonError),
    UnknownLocation,
}

The reasons why reading keys from a file can fail.

Variants

An error occured while accessing the file system.

The key file did not contain valid (commented) json.

Could not determine the location of the key file.

Trait Implementations

impl Debug for KeyfileError
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for KeyfileError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for KeyfileError
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl From<Error> for KeyfileError
[src]

[src]

Performs the conversion.

impl From<JsonError> for KeyfileError
[src]

[src]

Performs the conversion.

Auto Trait Implementations

impl Send for KeyfileError

impl Sync for KeyfileError