Structs§
- Authorization
Request - Batch
Builder - Accumulates queued [
BatchableCall]s into a singlePOST /rpc/batchround-trip. Build viaRpcClient::batch_builderor the macro-generatedClient::batch(). - Batch
Handle - A typed key returned by
BatchableCall::queue. Pair it with [BatchResults::take] to extract the typed output for that op from the batch response. - Batch
Results - Per-handle results from a sent batch. Each handle can be
taken exactly once. - Batchable
Call - A typed unary RPC call that has been prepared but not yet sent.
- Cbor
Codec - Cbor
SeqChunk Decoder - Stateful boundary scanner for
application/cbor-seqstreams. Bytes arrive in arbitrary chunks; this type buffers them and emits the byte ranges of any complete top-level CBOR items observed so far. The CBOR-level parse usesminicbor::Decoder::skipfor boundary detection (cheap, doesn’t allocate); the per-item serde decode happens at the caller’s leisure on each returned slice. - Client
Config - Cratestack
Client - InMemory
State Store - Json
Codec - Json
File State Store - Persisted
Client State - Request
Journal Entry - RpcClient
- Thin RPC client built on top of the REST client’s transport + codec plumbing.
- RpcError
Body - Wire shape of a single error returned by an RPC call. Maps from
CoolErrorviarpc_code+CoolError::public_message. - RpcRemote
Error - Error variant produced by the RPC client when a remote call fails with
an
RpcErrorBodypayload. Distinct from the RESTClientError::Remote(which carries theCoolErrorResponseshape) so library users can switch on the gRPC-stylecodestring directly. - RpcRequest
- Wire shape of a single batch request frame.
- RpcResponse
Frame - Wire shape of a single batch response frame.
- Runtime
Config Wire - Runtime
Error Wire - Runtime
Handle - Runtime
Header - Runtime
Request Wire - Runtime
Response Wire - Runtime
Transport Config
Enums§
- Client
Error - RpcClient
Error - Top-level error returned by the RPC client. Mirrors
ClientError(the REST error type) but reports server-side failures asRpcRemoteError { code, message, details }rather than the REST-shapedCoolErrorResponse. - Runtime
Chunk Wire - FFI-shaped chunk delivered to the
execute_streamedcallback.Itemcarries one CBOR-encoded item’s raw bytes;Erroris terminal;Endis terminal and indicates a clean stream close. - Runtime
Codec Config - Runtime
Envelope Config - Runtime
Error Code - Runtime
State Store Config
Constants§
- RPC_
BATCH_ PATH - Mount path for batched RPC calls. Body is a codec-encoded sequence
of
RpcRequestframes. - RPC_
UNARY_ PATH - Mount path for unary RPC calls. The trailing segment is the
percent-decoded op id, e.g.
POST /rpc/model.User.list.
Traits§
- Client
State Store - Http
Client Codec - Projection
- Back-compat alias — the trait moved to
cratestack-coreand was renamedProjectionDecoderto free up theProjectionname for the SQL value type incratestack-sql. - Projection
Decoder - Request
Authorizer
Functions§
Type Aliases§
- Header
Pair - Query
Pair - RpcStream
- Stable alias for the receiver shape that [
RpcClient::call_streaming] returns. Exists so macro-generated code (include_client_schema!fortransport rpcschemas) has a single name to bind without re-spelling the tokio/error-type plumbing on every method, and so downstream users have a typedef they can store in struct fields, function returns, etc. without leaking the implementation detail.