pub trait SnapshotAdmin:
Send
+ Sync
+ 'static {
// Required methods
fn save_snapshot(&self, path: &Path) -> Result<SnapshotMeta, LoraError>;
fn load_snapshot(&self, path: &Path) -> Result<SnapshotMeta, LoraError>;
}Expand description
Storage-agnostic admin surface for HTTP / binding callers that want to drive snapshot operations without naming the backend type parameter.
Implemented on Database<InMemoryGraph> since the in-memory backend
is currently the only one that bridges to the columnar
lora-snapshot codec. Transports (e.g. lora-server) type-erase on
Arc<dyn SnapshotAdmin>.