Expand description
Official gRPC client for the Rerun Data Protocol.
Structs§
- ApiError
- ApiResponse
Stream - A stream that optionally carries a server-assigned trace-id from the initial gRPC response metadata.
- Connection
Client - Thin wrapper around
GenericConnectionClient<crate::grpc::RedapClientInner>that additionally exposes the underlying layered tower service. - Connection
Registry - Connection
Registry Handle - Registry of all tokens and connections to the redap servers.
- Generic
Connection Client - Expose an ergonomic API over the gRPC redap client.
- Segment
Chunk Provider - gRPC-backed
ChunkProvider: serves the manifest of a single dataset segment and fetches its chunks on demand viaFetchChunks. - Segment
Query Params - Sourced
Credentials - Streaming
Options - Options that control how segment data is streamed from the server.
- Tonic
Status Error - Wrapper with a nicer error message
- TraceId
- Re-export of
opentelemetry::TraceIdfor callers constructingApiErrors without taking a direct dependency onopentelemetry. A 16-byte value which identifies a given trace.
Enums§
- ApiError
Kind - Client
Credentials Error - Possible errors when creating a connection.
- Credential
Source - Credentials
Constants§
- FETCH_
CHUNKS_ DEADLINE - Per-call deadline for
FetchChunksrequests sent via this client.
Functions§
- channel
- extract_
trace_ id - Extract the server’s trace-id from gRPC response metadata, if present.
- fetch_
chunks_ response_ to_ chunk_ and_ segment_ id - stream_
blueprint_ and_ segment_ from_ server - Canonical way to ingest segment data from a catalog server, dealing with server-stored blueprints if any.
- with_
retry - Helper function for executing requests or connection attempts with retries.
Type Aliases§
- ApiResult
- Convenience for
Result<T, ApiError> - Chunks
With Segment - Converts a
FetchChunksStreamstream into a stream ofChunks. - Fetch
Chunks Response Stream - Redap
Client - Redap
Client Inner