Module dav_server::memfs

source ·
Available on crate feature memfs only.
Expand description

Simple in-memory filesystem.

This implementation has state, so if you create a new instance in a handler(), it will be empty every time.

This means you have to create the instance once, using MemFs::new, store it in your handler struct, and clone() it every time you pass it to the DavHandler. As a MemFs struct is just a handle, cloning is cheap.

Structs§

  • Ephemeral in-memory filesystem.