reth_provider/traits/
static_file_provider.rs

1
2
3
4
5
6
7
8
9
use reth_storage_api::NodePrimitivesProvider;

use crate::providers::StaticFileProvider;

/// Static file provider factory.
pub trait StaticFileProviderFactory: NodePrimitivesProvider {
    /// Create new instance of static file provider.
    fn static_file_provider(&self) -> StaticFileProvider<Self::Primitives>;
}