Skip to main content

DecodeRevert

Trait DecodeRevert 

Source
pub trait DecodeRevert<T> {
    // Required method
    fn maybe_decode_revert<E: SolInterface + Debug>(self) -> Result<T>;
}

Required Methods§

Source

fn maybe_decode_revert<E: SolInterface + Debug>(self) -> Result<T>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> DecodeRevert<T> for Result<T, Error>

Source§

fn maybe_decode_revert<E: SolInterface + Debug>(self) -> Result<T>

Source§

impl<T> DecodeRevert<T> for Result<T, RpcError<TransportErrorKind>>

Source§

fn maybe_decode_revert<E: SolInterface + Debug>(self) -> Result<T>

Implementors§