Skip to main content

Crate trellis_client

Crate trellis_client 

Source
Expand description

Low-level outbound Trellis runtime primitives for generated Rust code.

This crate provides connection/auth helpers plus descriptor-driven request and publish operations. It intentionally avoids contract-specific convenience methods so first-party code can move toward generated SDKs and small local wrappers.

Structs§

OperationInvoker
OperationRef
OperationRefData
OperationSnapshot
ServiceConnectOptions
Connection options for a Trellis service/session-key principal.
SessionAuth
Session-scoped signing material used for Trellis auth and RPC proofs.
TrellisClient
A low-level Trellis client over NATS request/reply and publish primitives.
UserConnectOptions
Connection options for a user/binding-token principal.

Enums§

OperationEvent
OperationState
TrellisClientError
Errors returned by the Trellis client runtime.

Traits§

EventDescriptor
Metadata required to publish one typed Trellis event.
OperationDescriptor
RpcDescriptor
Metadata required to call one typed Trellis RPC.

Functions§

control_subject
verify_proof
Verify the proof header for a signed Trellis RPC payload.