Module dav_server::fs
source · [−]Expand description
Contains the structs and traits that define a filesystem backend.
You only need this if you are going to implement your own filesystem backend. Otherwise, just use ‘LocalFs’ or ‘MemFs’.
Structs
A webdav property.
OpenOptions for open().
Enums
Errors generated by a filesystem implementation.
Used as argument to the read_dir() method. It is:
Traits
One directory entry (or child node).
A DavFile is the equivalent of std::fs::File, should be
readable/writeable/seekable, and be able to return its metadata.
The trait that defines a filesystem.
File metadata. Basically type, length, and some timestamps.