Trait alloy_dyn_abi::ErrorExt

source ·
pub trait ErrorExt: Sealed {
    // Required method
    fn decode_error(&self, data: &[u8]) -> Result<DecodedError>;
}
Expand description

Provides error encoding and decoding for the Error type.

Required Methods§

source

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

Decode the error from the given data.

Implementations on Foreign Types§

source§

impl ErrorExt for Error

source§

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

Implementors§