Expand description
Reusable, security-hardened Valkey database connector.
The kit owns environment and programmatic configuration, TLS-by-default connection setup, reconnect policy, readiness reporting, namespaced binary keys, generic typed commands and pipelines, TTL values, and low-cardinality errors. App adapters own schema, serialization, and business semantics.
Structs§
- Valkey
Config - Validated Valkey client configuration.
- Valkey
Config Input - Raw Valkey configuration input.
- Valkey
Connector - Reconnecting, multiplexed Valkey database connector.
- Valkey
Health Report - Low-cardinality readiness snapshot for a Valkey connector.
- Valkey
Key - Validated binary key suffix.
- Valkey
Time ToLive - Positive, bounded key expiration interval.
- Valkey
Value - Validated binary value that clears its allocation on drop.
Enums§
- Valkey
Command Error Reason - Stable Valkey command failure reason.
- Valkey
Config Error Reason - Stable Valkey configuration failure reason.
- Valkey
Config Field - Valkey configuration field identifier.
- Valkey
Data Error Reason - Stable client-side data validation reason.
- Valkey
Data Kind - Bounded client-side data kind.
- Valkey
Error - Typed Valkey kit error without server text, keys, values, or credentials.
- Valkey
Protocol Version - Wire protocol selected for managed Valkey connections.
- Valkey
Retry Hint - Conservative retry guidance for an app-owned Valkey operation.
- Valkey
Setup Error Reason - Stable Valkey connection setup failure reason.
- Valkey
TlsTrust - Certificate roots trusted by Valkey TLS connections.
- Valkey
Transport Security - Valkey transport security policy.
Functions§
- valkey_
command - Starts a command with a compile-time command name.
- valkey_
pipeline - Starts a non-atomic command pipeline.
Type Aliases§
- Valkey
Command - A Valkey command whose response is decoded by
crate::ValkeyConnector. - Valkey
Pipeline - A Valkey command pipeline whose response is decoded by
crate::ValkeyConnector. - Valkey
Result - Result alias for Valkey kit operations.