Expand description
A postcard-rpc host client
This library is meant to be used with the Dispatch
type and the
postcard-rpc wire protocol.
Modules§
- test_
channels - A Client implementation using channels for testing
Structs§
- Endpoint
Report - A description of a single Endpoint
- Host
Client - The HostClient is the primary PC-side interface.
- Host
Client Config - HostClient configuration
- Host
Context - Shared context between HostClient and the I/O worker task
- IoClosed
- The I/O worker has closed.
- Multi
Subscription - A structure that represents a subscription to the given topic
- RawMulti
Subscription - Like MultiSubscription, but receives Raw frames that are not automatically deserialized
- RawSubscription
- Like Subscription, but receives Raw frames that are not automatically deserialized
- RpcFrame
- A single postcard-rpc frame
- Schema
Report - A report describing the schema spoken by the connected device
- Subscription
- A structure that represents a subscription to the given topic
- Topic
Report - A description of a single Topic
- Unable
ToFind Type - An error that denotes we were unable to resolve the type used by a given key
- Wire
Context - Items necessary for implementing a custom I/O Task
Enums§
- HostErr
- Host Error Kind
- Multi
SubRx Error - Recv
- Process
Error - Error for HostContext::process.
- Schema
Error - Errors related to retrieving the schema
- Subscribe
Error - The I/O worker has closed.