Skip to main content

Module client

Module client 

Source
Expand description

Typed Rust client for the read-only gRPC service.

RemoteClient mirrors the read methods of infrastore_core::Store over the wire. Construct it with RemoteClient::connect; a unifying Store/client trait is deliberately out of scope (the store is sync, the client async).

Structs§

RemoteClient
Read-only client wrapping a tonic-generated client. All methods translate gRPC Status errors back into TimeSeriesError::ConnectionError so callers don’t need to know whether the store is local or remote.