vaultrs::api

Trait ResponseWrapper

source
pub trait ResponseWrapper: Endpoint {
    // Provided method
    fn wrap<'life0, 'async_trait>(
        self,
        client: &'life0 (impl 'async_trait + Client),
    ) -> Pin<Box<dyn Future<Output = Result<WrappedResponse<Self>, ClientError>> + Send + 'async_trait>>
       where Self: Send + 'async_trait,
             'life0: 'async_trait { ... }
}
Expand description

Provides a method for wrapping Endpoints

Provided Methods§

source

fn wrap<'life0, 'async_trait>( self, client: &'life0 (impl 'async_trait + Client), ) -> Pin<Box<dyn Future<Output = Result<WrappedResponse<Self>, ClientError>> + Send + 'async_trait>>
where Self: Send + 'async_trait, 'life0: 'async_trait,

Object Safety§

This trait is not object safe.

Implementors§