pub struct ExportManifest {
pub schema_version: u32,
pub backend: String,
pub backend_version: String,
pub cursor: WatchCursor,
pub created_at_unix: u64,
pub files: Vec<ArtifactFile>,
}Expand description
Manifest of an exported artifact: what is in it, which backend wrote it, and the cursor its payload is consistent with.
Fields§
§schema_version: u32Artifact layout version (ARTIFACT_SCHEMA_VERSION).
backend: StringBackend identity: "append-log", "fjall", or "rocksdb".
backend_version: StringThe backend’s on-disk format generation (not a crate semver): the
append log’s FORMAT_VERSION ("2"), fjall’s format marker ("3"),
the rust-rocksdb binding version ("0.50", informational — RocksDB
reads older formats and its own open is the arbiter).
cursor: WatchCursorThe resume cursor the payload is exactly consistent with. Resuming the watch from here replays only the post-export tail.
created_at_unix: u64Export wall-clock time, seconds since the Unix epoch. Informational.
files: Vec<ArtifactFile>Every payload file, with size and BLAKE3 digest. Import verifies all of them and rejects undeclared extras.
Trait Implementations§
Source§impl Clone for ExportManifest
impl Clone for ExportManifest
Source§fn clone(&self) -> ExportManifest
fn clone(&self) -> ExportManifest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more