Trait etwin_core::twinoid::TwinoidStore[][src]

pub trait TwinoidStore: Send + Sync {
#[must_use]    fn get_short_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        options: &'life1 GetTwinoidUserOptions
    ) -> Pin<Box<dyn Future<Output = Result<Option<ShortTwinoidUser>, Box<dyn Error>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn get_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        options: &'life1 GetTwinoidUserOptions
    ) -> Pin<Box<dyn Future<Output = Result<Option<ArchivedTwinoidUser>, Box<dyn Error>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn touch_short_user<'life0, 'life1, 'async_trait>(
        &'life0 self,
        options: &'life1 ShortTwinoidUser
    ) -> Pin<Box<dyn Future<Output = Result<ArchivedTwinoidUser, Box<dyn Error>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn get_short_user<'life0, 'life1, 'async_trait>(
    &'life0 self,
    options: &'life1 GetTwinoidUserOptions
) -> Pin<Box<dyn Future<Output = Result<Option<ShortTwinoidUser>, Box<dyn Error>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn get_user<'life0, 'life1, 'async_trait>(
    &'life0 self,
    options: &'life1 GetTwinoidUserOptions
) -> Pin<Box<dyn Future<Output = Result<Option<ArchivedTwinoidUser>, Box<dyn Error>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn touch_short_user<'life0, 'life1, 'async_trait>(
    &'life0 self,
    options: &'life1 ShortTwinoidUser
) -> Pin<Box<dyn Future<Output = Result<ArchivedTwinoidUser, Box<dyn Error>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementations on Foreign Types

impl<'a, T: 'a + TwinoidStore + ?Sized> TwinoidStore for &'a T where
    &'a T: Send + Sync
[src]

impl<T: TwinoidStore + ?Sized> TwinoidStore for Arc<T> where
    Arc<T>: Send + Sync
[src]

Loading content...

Implementors

Loading content...