Trait steam_vent::auth::GuardDataStore

source ·
pub trait GuardDataStore {
    type Err: Error;

    // Required methods
    fn store<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        account: &'life1 str,
        machine_token: String
    ) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn load<'life0, 'life1, 'async_trait>(
        &'life0 mut self,
        account: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Option<String>, Self::Err>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Associated Types§

Required Methods§

source

fn store<'life0, 'life1, 'async_trait>( &'life0 mut self, account: &'life1 str, machine_token: String ) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn load<'life0, 'life1, 'async_trait>( &'life0 mut self, account: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<Option<String>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§