//! Defines the messages needed for the recovery process.
usetokio::sync::mpsc;/// For stashing messages in the cache.
////// # Variants
/// * `Put(T)`: Stashes a message in the cache.
/// * `Flush(mpsc::Sender<T>)`: Flushes the cache and sends the messages to the sender.
#[derive(Debug, Clone)]pubenumCacheMessage<T: Clone> {
Put(T),
Flush(mpsc::Sender<T>),}