Module tokio_mqttc::persistence [] [src]

Structs

FSPersistence
MemoryPersistence

Traits

Persistence

This trait provides an interface for basic cache functionality required by the MQTT client. This cache should be presisted to a non-volatile storage medium so that a device shutdown does not cause the client to lose QoS1 or QoS2 messages that were in-flight. The stored data is a serialized packet structure.