[][src]Macro rocket_include_tera::tera_response_static

macro_rules! tera_response_static {
    ( $cm:expr, $key:expr, $gen:block ) => { ... };
    ( $etag_if_none_match:expr, $cm:expr, $key:expr, $gen:block ) => { ... };
}

This macro can be used to wrap a TeraResponse and its constructor, and use a key to staticize its HTML and ETag in memory.