Function static_dir::dir [−][src]
pub fn dir(
dir: &'static Dir<'_>
) -> impl Filter<Extract = (Response,), Error = Rejection> + Clone + 'static
Creates a Filter that serves an included directory.
See the documentation of static_dir for details.