Function warp_embed::embed

source ·
pub fn embed<A: RustEmbed>(
    x: &A
) -> impl Filter<Extract = (impl Reply,), Error = Rejection> + Clone
Expand description

Creates a Filter that serves embedded files at the base path joined by the request path.