pub enum RedisBinding {
ElastiCache(ElastiCacheRedisBinding),
Memorystore(MemorystoreRedisBinding),
AzureManagedRedis(AzureManagedRedisBinding),
External(ExternalRedisBinding),
Local(LocalRedisBinding),
}Expand description
Connection details for a Redis-compatible server, one variant per backend.
Service tags are unique across all binding enums (serde dispatches on
service alone), so the key-value store’s redis tag is not reused.
Variants§
ElastiCache(ElastiCacheRedisBinding)
AWS ElastiCache for Valkey (primary endpoint + AUTH token secret ARN).
Memorystore(MemorystoreRedisBinding)
GCP Memorystore for Valkey (PSC address + CA + secret name).
AzureManagedRedis(AzureManagedRedisBinding)
Azure Managed Redis (private endpoint host + database resource ID).
External(ExternalRedisBinding)
Operator-provided server (Kubernetes, on-prem, or cloud override).
Local(LocalRedisBinding)
Local Valkey container.
Implementations§
Source§impl RedisBinding
impl RedisBinding
Trait Implementations§
Source§impl Clone for RedisBinding
impl Clone for RedisBinding
Source§impl Debug for RedisBinding
impl Debug for RedisBinding
Source§impl<'de> Deserialize<'de> for RedisBinding
impl<'de> Deserialize<'de> for RedisBinding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RedisBinding
Source§impl PartialEq for RedisBinding
impl PartialEq for RedisBinding
Source§impl Serialize for RedisBinding
impl Serialize for RedisBinding
impl StructuralPartialEq for RedisBinding
Auto Trait Implementations§
impl Forget for RedisBinding
impl Freeze for RedisBinding
impl Move for RedisBinding
impl RefUnwindSafe for RedisBinding
impl Send for RedisBinding
impl Sync for RedisBinding
impl Unpin for RedisBinding
impl UnsafeUnpin for RedisBinding
impl UnwindSafe for RedisBinding
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.