Module dav_server::memls

source ·
Expand description

Simple in-memory locksystem.

This implementation has state - 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 MemLs::new, store it in your handler struct, and clone() it every time you pass it to the DavHandler. As a MemLs struct is just a handle, cloning is cheap.

Structs§

  • Ephemeral in-memory LockSystem.