pub struct RedisKeyValueStore { /* private fields */ }
Expand description
A key-value store that uses Redis as the backend.
Implementations§
Trait Implementations§
Source§impl Default for RedisKeyValueStore
impl Default for RedisKeyValueStore
Source§fn default() -> RedisKeyValueStore
fn default() -> RedisKeyValueStore
Returns the “default value” for a type. Read more
Source§impl MakeKeyValueStore for RedisKeyValueStore
impl MakeKeyValueStore for RedisKeyValueStore
Source§const RUNTIME_CONFIG_TYPE: &'static str = "redis"
const RUNTIME_CONFIG_TYPE: &'static str = "redis"
Unique type identifier for the store.
Source§type RuntimeConfig = RedisKeyValueRuntimeConfig
type RuntimeConfig = RedisKeyValueRuntimeConfig
Runtime configuration for the store.
Source§type StoreManager = KeyValueRedis
type StoreManager = KeyValueRedis
The store manager for the store.
Source§fn make_store(
&self,
runtime_config: Self::RuntimeConfig,
) -> Result<Self::StoreManager>
fn make_store( &self, runtime_config: Self::RuntimeConfig, ) -> Result<Self::StoreManager>
Creates a new store manager from the runtime configuration.
Auto Trait Implementations§
impl Freeze for RedisKeyValueStore
impl RefUnwindSafe for RedisKeyValueStore
impl Send for RedisKeyValueStore
impl Sync for RedisKeyValueStore
impl Unpin for RedisKeyValueStore
impl UnwindSafe for RedisKeyValueStore
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more