Module fs

Source
Expand description

File serving, file accepting, and file metadata types.

Macros§

relative
Generates a crate-relative version of a path.

Structs§

FileName
A file name in a TempFile or multipart DataField.
FileServer
Custom handler for serving static files.
NamedFile
A Responder that sends file data with a Content-Type based on its file extension.
Options
A bitset representing configurable options for FileServer.

Enums§

TempFile
A data and form guard that streams data into a temporary file.