Expand description
§The Anachro Protocol Client Library
This crate is used by devices acting as a Client of the Anachro Protocol
Re-exports§
pub use anachro_icd;
Macros§
- A macro for defining a publish and subscribe table
Structs§
- The Client interface
- A message that has been received FROM the Broker, TO the Client
- A message to be sent TO the Broker, FROM the Client
- Subscription Message
- Device version - SemVer
Enums§
- The Error type of the ClientIo interface
- The main Client error type
- A borrowed or owned string
- Publish/Subscribe Path - Short or Long
- An error type used by the
Table
trait
Constants§
- The shortcode offset used for Publish topics
Traits§
- A trait for defining the IO layer for a given client
- A trait describing publish and subscription topics
Functions§
- Deserialize a message of type
T
from a byte slice. The unused portion (if any) of the byte slice is not returned. - Serialize a
T
to the given slice, with the resulting slice containing data in a serialized format.
Type Aliases§
- A Pub/Sub Path as a Managed String