Module fs

Source
Available on crate feature fs only.

Structs§

Caching
Controls if caching information should be sent.
File
MemoryFile
Static get handler which servers/returns a file.
PartialFile
Range
StaticFile
Static get handler which servers/returns a file.
StaticFileOwned
Static get handler which servers/returns a file.
StaticFiles
Static get handler which servers files from a directory.
StaticFilesOwned
Static get handler which servers files from a directory.

Enums§

IntoPathBufError

Traits§

IntoPathBuf

Functions§

serve_file
returns io::Error not found if the path is a directory
serve_memory_file