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 participant facades.

Structs§

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§

TrellisClientError
Errors returned by the Trellis client runtime.

Traits§

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

Functions§

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