rocket::fs

Module rewrite

Source

Structs§

  • Rewrite a directory to a file inside of that directory.
  • A File response from a FileServer and a rewriter.
  • Prefixes all paths with a given path.
  • Normalize directories to always include a trailing slash by redirecting (with a 302 temporary redirect) requests for directories without a trailing slash to the same path with a trailing slash.

Enums§

Traits§