Expand description
Checkpoint system for periodic backups with pluggable storage backends
This module provides a trait-based checkpoint system that allows you to implement different storage backends (IPFS, S3, local filesystem, etc.)
§Example
use azoth::checkpoint::{CheckpointStorage, LocalStorage};
use azoth::prelude::*;
use std::path::PathBuf;
// Use local filesystem storage
let storage = LocalStorage::new(PathBuf::from("./checkpoints"));
// Or implement your own storage backend
// struct S3Storage { /* ... */ }
// impl CheckpointStorage for S3Storage { /* ... */ }Structs§
- Checkpoint
Config - Configuration for checkpoint creation
- Checkpoint
Manager - Checkpoint manager for creating and restoring checkpoints
- Checkpoint
Metadata - Metadata about a checkpoint
- Local
Storage - Local filesystem storage backend
Traits§
- Checkpoint
Storage - Trait for checkpoint storage backends