Trait databend_client::auth::Auth

source ·
pub trait Auth: Sync + Send {
    // Required methods
    fn wrap<'life0, 'async_trait>(
        &'life0 self,
        builder: RequestBuilder,
    ) -> Pin<Box<dyn Future<Output = Result<RequestBuilder>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn username(&self) -> String;
}

Required Methods§

source

fn wrap<'life0, 'async_trait>( &'life0 self, builder: RequestBuilder, ) -> Pin<Box<dyn Future<Output = Result<RequestBuilder>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn username(&self) -> String

Implementors§