pub struct RedisActorSessionStoreBuilder { /* private fields */ }
Expand description
A fluent builder to construct a RedisActorSessionStore
instance with custom configuration
parameters.
Implementations§
source§impl RedisActorSessionStoreBuilder
impl RedisActorSessionStoreBuilder
sourcepub fn cache_keygen<F>(self, keygen: F) -> Self
pub fn cache_keygen<F>(self, keygen: F) -> Self
Set a custom cache key generation strategy, expecting a session key as input.
sourcepub fn build(self) -> RedisActorSessionStore
pub fn build(self) -> RedisActorSessionStore
Finalise the builder and return a RedisActorSessionStore
instance.
Auto Trait Implementations§
impl !RefUnwindSafe for RedisActorSessionStoreBuilder
impl !Send for RedisActorSessionStoreBuilder
impl !Sync for RedisActorSessionStoreBuilder
impl Unpin for RedisActorSessionStoreBuilder
impl !UnwindSafe for RedisActorSessionStoreBuilder
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