Skip to main content

Crate shuru_store

Crate shuru_store 

Source

Re-exports§

pub use cas::CasBackend;
pub use cas::ChunkIndex;
pub use cas::ChunkStore;
pub use cas::LocalChunkStore;

Modules§

cas

Structs§

FlatFileBackend
Flat-file backend using pread/pwrite for thread-safe positional I/O.
NbdHandle
Handle to a running NBD server. Dropping it shuts the server down.

Traits§

NbdBackend
Trait for NBD storage backends.

Functions§

start_cas_nbd_server
Start an NBD server backed by the content-addressable chunk store. Chunks are loaded lazily from the flat file on first access — no upfront ingestion.