RequestDecodeErr

Trait RequestDecodeErr 

Source
pub trait RequestDecodeErr<T, E> {
    // Required method
    fn decode_client_err(
        &self,
        res: Result<Result<T, ServerFnError>, RequestError>,
    ) -> impl Future<Output = Result<T, E>> + Send;
}

Required Methods§

Source

fn decode_client_err( &self, res: Result<Result<T, ServerFnError>, RequestError>, ) -> impl Future<Output = Result<T, E>> + Send

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.

Implementors§