Trait sanity_api::Api

source ·
pub trait Api {
    // Required method
    fn login<'life0, 'async_trait>(
        &'life0 self,
        request: LoginRequest
    ) -> Pin<Box<dyn Future<Output = Result<LoginResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn login<'life0, 'async_trait>( &'life0 self, request: LoginRequest ) -> Pin<Box<dyn Future<Output = Result<LoginResponse>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§