Skip to main content

Module storage

Module storage 

Source
Expand description

Storage abstraction for libfw-server.

Implement StorageBackend to plug in any storage — a local filesystem, object storage, in-memory fixtures, … — behind the same streaming API. Streams are pull/push based so memory stays constant regardless of file size.

Structs§

DirEntry
A directory listing entry.

Enums§

WriteMode
How an upload should open (or resume) its target stream.

Traits§

StorageBackend
Pluggable storage backend for libfw-server.
UploadSink
Streaming write handle returned by StorageBackend::write_stream.