pub trait Guard<T>: Send + Sync {
type D: for<'a> DerefLt<'a, T>;
fn store<'life0, 'async_trait>(
&'life0 mut self,
data: T
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn load<'s, 'async_trait>(
&'s self
) -> Pin<Box<dyn Future<Output = Result<<Self::D as DerefLt<'s, T>>::Deref>> + Send + 'async_trait>>
where
's: 'async_trait,
Self: 'async_trait;
fn clear<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}Required Associated Types
Required Methods
sourcefn store<'life0, 'async_trait>(