Trait TransportErrorExt

Source
pub trait TransportErrorExt {
    // Required method
    fn try_parse_transport_error<I: SolInterface>(
        self,
    ) -> TryParseTransportErrorResult<I>;
}
Expand description

Extension trait for TransportError parsing capabilities

Required Methods§

Source

fn try_parse_transport_error<I: SolInterface>( self, ) -> TryParseTransportErrorResult<I>

Attempts to parse a transport error into a specific interface.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl TransportErrorExt for TransportError

Implementors§