embed

Function 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.