Macro hyper_fs::static_file
[−]
[src]
macro_rules! static_file { ($typo_file: ident, $typo_exception_handler: ident) => { ... }; }
create a StaticFile
by owner ExceptionHandler
.
mod local {
use hyper_fs::static_file::*;
// wait to replace
use hyper_fs::ExceptionHandler;
static_file!(StaticFile, ExceptionHandler);
}
pub use self::local::StaticFile;