Trait AsyncResponseConverterExt

Source
pub trait AsyncResponseConverterExt {
    // Required method
    fn into_http_response_async<'async_trait, T>(
        self,
    ) -> Pin<Box<dyn Future<Output = AuthExecutionResult<Response<Result<T, ErrorMessage>>>> + Send + 'async_trait>>
       where T: 'async_trait + DeserializeOwned,
             Self: 'async_trait;
}

Required Methods§

Source

fn into_http_response_async<'async_trait, T>( self, ) -> Pin<Box<dyn Future<Output = AuthExecutionResult<Response<Result<T, ErrorMessage>>>> + Send + 'async_trait>>
where T: 'async_trait + DeserializeOwned, Self: 'async_trait,

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 AsyncResponseConverterExt for Response

Source§

fn into_http_response_async<'async_trait, T>( self, ) -> Pin<Box<dyn Future<Output = AuthExecutionResult<Response<Result<T, ErrorMessage>>>> + Send + 'async_trait>>
where T: 'async_trait + DeserializeOwned, Self: 'async_trait,

Implementors§