Expand description
Store Rust SDK Client.
Provides typed access to the store put/get/query APIs plus plain HTTP health/readiness probes.
§Errors
RPC failures surface as ClientError::Rpc carrying a native ConnectError. Use
ClientError::decoded_rpc_error or StoreClient::decode_error_details to unpack
protobuf google.rpc details (and store.query.v1.Detail on query RPC errors), not string parsing.
Idempotent reads honor google.rpc.RetryInfo when deciding backoff (see retry_delay_for_error).
Re-exports§
pub use keys::Key;pub use keys::KeyCodec;pub use keys::KeyCodecError;pub use keys::KeyMut;pub use keys::KeyValidationError;pub use keys::Value;pub use keys::MAX_KEY_LEN;pub use proto::*;
Modules§
- keys
- kv_
codec - match_
key - Shared key-filter shape:
(reserved_bits, prefix, payload_regex). - proto
- Protobuf types and service stubs for the store API (
store.*.v1). - prune_
policy - stream_
filter - Validated filter for
store.stream.v1.Subscribe.
Structs§
- Compact
- GetMany
Stream - Ingest
- Query
- Range
Stream - Iterator-like async range stream.
- Retry
Config - Retry policy for idempotent read operations.
- Serializable
Read Session - A session that enforces monotonic read consistency via a fixed
min_sequence_numberfloor. - Store
Client - Typed Rust client for Store.
- Store
Client Builder - Configures a
StoreClientwith explicit bases for health probes and store services. - Store
KeyPrefix - A client-side namespace layered over raw Store keys.
- Store
Write Batch - A physical Store write batch assembled from one or more logical clients.
- Stream
- Stream
Subscription - Async stream of
StreamSubscriptionFrame. Backed by the generated connectrpc server stream. - Stream
Subscription Entry - One delivered (key, value) row from a stream subscription. The client reapplies its own filter if it needs to know which match_key matched — the wire frame doesn’t carry the index.
- Stream
Subscription Frame - One atomic Put batch delivered to a subscriber.
Enums§
- Client
Build Error - Error returned when
StoreClientBuilderis missing a required endpoint URL. - Client
Error - Store client error.
- Connect
Request Compression - Codec used to compress outgoing RPC request bodies when compression applies.
- Range
Mode - Traversal mode for range queries.
- Store
KeyPrefix Error - Errors returned by
StoreKeyPrefixwhen a logical key cannot be mapped into the prefixed physical keyspace.
Traits§
- Store
Batch Publication - A writer that can stage an already-prepared publication record into a shared Store write batch and then be notified of the batch outcome.
- Store
Batch Upload - A writer that can stage an already-prepared upload into a shared Store write batch and then be notified of the batch outcome.
- Store
Publication Frontier Writer - A stateful writer that owns a durable publication frontier.