pub struct RedisGuard<'a, T> { /* private fields */ }
Trait Implementations§
Source§impl<'a, T> Drop for RedisGuard<'a, T>
impl<'a, T> Drop for RedisGuard<'a, T>
Source§impl<'a, T> Guard<T> for RedisGuard<'a, T>
impl<'a, T> Guard<T> for RedisGuard<'a, T>
type D = RedisDerefCtor<T>
fn store<'life0, 'async_trait>(
&'life0 mut self,
data: T,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load<'s, 'async_trait>(
&'s self,
) -> Pin<Box<dyn Future<Output = Result<RwLockReadGuard<'s, Option<T>>>> + Send + 'async_trait>>where
Self: 'async_trait,
's: 'async_trait,
fn clear<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<'a, T> !Freeze for RedisGuard<'a, T>
impl<'a, T> !RefUnwindSafe for RedisGuard<'a, T>
impl<'a, T> Send for RedisGuard<'a, T>where
T: Send,
impl<'a, T> Sync for RedisGuard<'a, T>
impl<'a, T> Unpin for RedisGuard<'a, T>where
T: Unpin,
impl<'a, T> !UnwindSafe for RedisGuard<'a, T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more