Trait ErrorExt

Source
pub trait ErrorExt: Sealed {
    // Required method
    fn decode_error(&self, data: &[u8]) -> Result<DecodedError, Error>;
}
Available on crate feature dyn-abi only.
Expand description

Provides error encoding and decoding for the Error type.

Required Methods§

Source

fn decode_error(&self, data: &[u8]) -> Result<DecodedError, Error>

Decode the error from the given data.

Implementors§