Enum diem_management::error::Error[][src]

pub enum Error {
Show 20 variants BackendInvalidKeyValue(String), BackendMissingBackendKey, BackendParsingError(String), CommandArgumentError(String), ConfigError(String), IO(StringError), BCS(String, Error), JsonRpcReadError(&'static strString), JsonRpcWriteError(&'static strString), NetworkAddressDecodeError(String), StorageUnavailable(&'static strString), StorageReadError(&'static str, &'static strString), StorageSigningError(&'static str, &'static str, &'static strString), StorageWriteError(&'static str, &'static strString), Timeout(&'static strString), UnableToParse(&'static strString), UnableToParseFile(StringString), UnableToReadFile(StringString), UnexpectedCommand(StringString), UnexpectedError(String),
}

Variants

BackendInvalidKeyValue(String)

Tuple Fields of BackendInvalidKeyValue

0: String
BackendMissingBackendKey
BackendParsingError(String)

Tuple Fields of BackendParsingError

0: String
CommandArgumentError(String)

Tuple Fields of CommandArgumentError

0: String
ConfigError(String)

Tuple Fields of ConfigError

0: String
IO(StringError)

Tuple Fields of IO

0: String1: Error
BCS(String, Error)

Tuple Fields of BCS

0: String1: Error
JsonRpcReadError(&'static strString)

Tuple Fields of JsonRpcReadError

0: &'static str1: String
JsonRpcWriteError(&'static strString)

Tuple Fields of JsonRpcWriteError

0: &'static str1: String
NetworkAddressDecodeError(String)

Tuple Fields of NetworkAddressDecodeError

0: String
StorageUnavailable(&'static strString)

Tuple Fields of StorageUnavailable

0: &'static str1: String
StorageReadError(&'static str, &'static strString)

Tuple Fields of StorageReadError

0: &'static str1: &'static str2: String
StorageSigningError(&'static str, &'static str, &'static strString)

Tuple Fields of StorageSigningError

0: &'static str1: &'static str2: &'static str3: String
StorageWriteError(&'static str, &'static strString)

Tuple Fields of StorageWriteError

0: &'static str1: &'static str2: String
Timeout(&'static strString)

Tuple Fields of Timeout

0: &'static str1: String
UnableToParse(&'static strString)

Tuple Fields of UnableToParse

0: &'static str1: String
UnableToParseFile(StringString)

Tuple Fields of UnableToParseFile

0: String1: String
UnableToReadFile(StringString)

Tuple Fields of UnableToReadFile

0: String1: String
UnexpectedCommand(StringString)

Tuple Fields of UnexpectedCommand

0: String1: String
UnexpectedError(String)

Tuple Fields of UnexpectedError

0: String

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

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

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.