Enum ethcore_util::error::UtilError
[−]
[src]
pub enum UtilError { StdIo(Error), FromHex(FromHexError), BaseData(BaseDataError), Decoder(DecoderError), SimpleString(String), BadSize, Snappy(InvalidInput), }
General error type which should be capable of representing all errors in ethcore.
Variants
StdIo(Error)
Error concerning the Rust standard library's IO subsystem.
FromHex(FromHexError)
Error concerning the hex conversion logic.
BaseData(BaseDataError)
Error concerning the database abstraction logic.
Decoder(DecoderError)
Error concerning the RLP decoder.
SimpleString(String)
Miscellaneous error described by a string.
BadSize
Error from a bad input size being given for the needed output.
Snappy(InvalidInput)
Error from snappy.
Trait Implementations
impl Debug for UtilError
[src]
impl Display for UtilError
[src]
impl From<FromHexError> for UtilError
[src]
fn from(err: FromHexError) -> UtilError
Performs the conversion.
impl From<BaseDataError> for UtilError
[src]
fn from(err: BaseDataError) -> UtilError
Performs the conversion.
impl From<Error> for UtilError
[src]
impl From<DecoderError> for UtilError
[src]
fn from(err: DecoderError) -> UtilError
Performs the conversion.
impl From<String> for UtilError
[src]
impl From<InvalidInput> for UtilError
[src]
fn from(err: InvalidInput) -> UtilError
Performs the conversion.