reth::providers

Trait StaticFileProviderFactory

Source
pub trait StaticFileProviderFactory: NodePrimitivesProvider {
    // Required method
    fn static_file_provider(&self) -> StaticFileProvider<Self::Primitives>;
}
Expand description

Static file provider factory.

Required Methods§

Source

fn static_file_provider(&self) -> StaticFileProvider<Self::Primitives>

Create new instance of static file provider.

Implementors§