Crate anachro_client

Source
Expand description

§The Anachro Protocol Client Library

This crate is used by devices acting as a Client of the Anachro Protocol

Re-exports§

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§

Constants§

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