pub fn new(config: Config, rng: fastrand::Rng, filters: F, upstream: U) -> Self {
        let peers = HashMap::with_hasher(rng.clone().into());

        Self {
            config,
            peers,
            upstream,
            filters,
            inflight: HashMap::with_hasher(rng.clone().into()),
            last_idle: None,
            rng,
        }
    }
/// Create a new filter manager.
Create a new filter manager.
Create a new filter manager .
pub fn new(config: Config, rng: fastrand::Rng, filters: F, upstream: U) -> Self {
        let peers = HashMap::with_hasher(rng.clone().into());
        Self {
            config,
            peers,
            upstream,
            filters,
            inflight: HashMap::with_hasher(rng.clone().into()),
            last_idle: None,
            rng,
        }
    }
pub fn new ( config : Config , rng : fastrand :: Rng , filters : F , upstream : U ) -> Self { let peers = HashMap :: with_hasher ( rng . clone ( ) . into ( ) ) ; Self { config , peers , upstream , filters , inflight : HashMap :: with_hasher ( rng . clone ( ) . into ( ) ) , last_idle : None , rng , } }
Create a new filter manager.
Create a new filter manager .
config
Config
rng
fastrand::Rng
filters
F
upstream
U