Module host_client

Source
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§

EndpointReport
A description of a single Endpoint
HostClient
The HostClient is the primary PC-side interface.
HostClientConfig
HostClient configuration
HostContext
Shared context between HostClient and the I/O worker task
IoClosed
The I/O worker has closed.
MultiSubscription
A structure that represents a subscription to the given topic
RawMultiSubscription
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
SchemaReport
A report describing the schema spoken by the connected device
Subscription
A structure that represents a subscription to the given topic
TopicReport
A description of a single Topic
UnableToFindType
An error that denotes we were unable to resolve the type used by a given key
WireContext
Items necessary for implementing a custom I/O Task

Enums§

HostErr
Host Error Kind
MultiSubRxError
Recv
ProcessError
Error for HostContext::process.
SchemaError
Errors related to retrieving the schema
SubscribeError
The I/O worker has closed.

Traits§

WireRx
Wire Receive Interface
WireSpawn
Wire Spawn Interface
WireTx
Wire Transmit Interface