pub trait StaticFileProviderFactory: NodePrimitivesProvider {
// Required method
fn static_file_provider(&self) -> StaticFileProvider<Self::Primitives>;
}
Expand description
Static file provider factory.
Required Methods§
Sourcefn static_file_provider(&self) -> StaticFileProvider<Self::Primitives>
fn static_file_provider(&self) -> StaticFileProvider<Self::Primitives>
Create new instance of static file provider.
Implementors§
impl<C: Send + Sync, N: NodePrimitives> StaticFileProviderFactory for NoopProvider<C, N>
Available on crate feature
test-utils
only.