Struct unleash_edge::persistence::redis::RedisPersister
source · pub struct RedisPersister { /* private fields */ }
Implementations§
Trait Implementations§
source§impl EdgePersistence for RedisPersister
impl EdgePersistence for RedisPersister
fn load_tokens<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = EdgeResult<Vec<EdgeToken>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn save_tokens<'life0, 'async_trait>(
&'life0 self,
tokens: Vec<EdgeToken>
) -> Pin<Box<dyn Future<Output = EdgeResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load_refresh_targets<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = EdgeResult<Vec<TokenRefresh>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn save_refresh_targets<'life0, 'async_trait>(
&'life0 self,
refresh_targets: Vec<TokenRefresh>
) -> Pin<Box<dyn Future<Output = EdgeResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn load_features<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = EdgeResult<HashMap<String, ClientFeatures>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn save_features<'life0, 'async_trait>(
&'life0 self,
features: Vec<(String, ClientFeatures)>
) -> Pin<Box<dyn Future<Output = EdgeResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for RedisPersister
impl !RefUnwindSafe for RedisPersister
impl Send for RedisPersister
impl Sync for RedisPersister
impl Unpin for RedisPersister
impl !UnwindSafe for RedisPersister
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