Module fs

Module 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§

DavProp
A webdav property.
OpenOptions
OpenOptions for open().

Enums§

FsError
Errors generated by a filesystem implementation.
ReadDirMeta
Used as argument to the read_dir() method. It is:

Traits§

DavDirEntry
One directory entry (or child node).
DavFile
A DavFile is the equivalent of std::fs::File, should be readable/writeable/seekable, and be able to return its metadata.
DavFileSystem
The trait that defines a filesystem.
DavMetaData
File metadata. Basically type, length, and some timestamps.

Type Aliases§

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