reth::providers

Trait StaticFileProviderFactory

Source
pub trait StaticFileProviderFactory {
    type Primitives: NodePrimitives;

    // Required method
    fn static_file_provider(&self) -> StaticFileProvider<Self::Primitives>;
}
Expand description

Static file provider factory.

Required Associated Types§

Source

type Primitives: NodePrimitives

The network primitives type StaticFileProvider is using.

Required Methods§

Source

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

Create new instance of static file provider.

Implementors§