Skip to main content

Module transport_traits

Module transport_traits 

Source
Expand description

Transport and Signer traits for unified RPC communication.

These traits abstract over the wire transport (ZMQ vs WebTransport) and signing mechanism (local key vs external callback), enabling a single RpcClient<S, T> implementation that compiles to both native and wasm32.

Structs§

PreDispatchTransportError
A transport failure proven to have occurred before any request bytes were dispatched. Only this marker is safe for automatic endpoint retry.

Traits§

PublishSink
Trait for sending frames on a publish/control channel.
Signer
Signing abstraction for Ed25519 envelope signatures.
Transport
Wire transport abstraction.

Functions§

is_pre_dispatch_transport_error