//! [`WalMirror`] — optional side-effect after the WAL has flushed.
use Path;
use crateWalError;
/// Optional side-effect after the WAL has successfully flushed.
///
/// The core WAL stays directory/segment based for append performance. Higher
/// layers can install a mirror to copy that durable directory into another
/// representation, such as the portable `.loradb` archive file used by named
/// databases.