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§

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.

Type Aliases§

  • Future returned by almost all of the DavFileSystem methods.
  • The Result type.
  • Convenience alias for a boxed Stream.