Crate shm_snapshot

Crate shm_snapshot 

Source
Expand description

Interact with a memory-mapped file in the systemd File Descriptor store, for snapshot-restore of some state.

Structs§

ConfigureFile
Describes the layout of a shared memory in a Writer.
File
A read view of a file.
FileDiscovery
A view onto a memory-mapped file, which has a configured layout.
PreparedTransaction
An unfinished entry in a writer’s ring, which can be atomically committed.
Snapshot
The descriptor of a singular snapshot.
SnapshotIndex
The index of a snapshot in a file wrapped with a Writer.
Writer
A memory-mapped file into which this writer adds new snapshot.
WriterCommitError
An error, trying to commit a snapshot with Writer::commit.

Traits§

RetainSnapshot
A value that can decide whether a snapshot should be considered valid.