Skip to main content

ResponseData

Trait ResponseData 

Source
pub trait ResponseData<T: Sized> {
    // Required method
    fn from_response(
        response: Response,
    ) -> impl Future<Output = Result<T, Error>>;
}

Required Methods§

Source

fn from_response(response: Response) -> impl Future<Output = Result<T, Error>>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§