pub fn new(network: ZN, verifier: ZV, state: ZS, latest_chain_tip: zs::LatestChainTip) -> Self {
        Self {
            network,
            verifier,
            state,
            latest_chain_tip,
            pending: FuturesUnordered::new(),
            cancel_handles: HashMap::new(),
        }
    }
/// Initialize a new download stream with the provided `network`, `verifier`, and `state` services.
/// The `latest_chain_tip` must be linked to the provided `state` service.
///
/// The [`Downloads`] stream is agnostic to the network policy, so retry and
/// timeout limits should be applied to the `network` service passed into
/// this constructor.


The [`Downloads`] stream is agnostic to the network policy, so retry and
timeout limits should be applied to the `network` service passed into
this constructor.
The [ ` Downloads ` ] stream is agnostic to the network policy so retry and timeout limits should be applied to the ` network ` service passed into this constructor .
pub fn new(network: ZN, verifier: ZV, state: ZS, latest_chain_tip: zs::LatestChainTip) -> Self {
        Self {
            network,
            verifier,
            state,
            latest_chain_tip,
            pending: FuturesUnordered::new(),
            cancel_handles: HashMap::new(),
        }
    }
pub fn new ( network : ZN , verifier : ZV , state : ZS , latest_chain_tip : zs :: LatestChainTip ) -> Self { Self { network , verifier , state , latest_chain_tip , pending : FuturesUnordered :: new ( ) , cancel_handles : HashMap :: new ( ) , } }
Initialize a new download stream with the provided `network`, `verifier`, and `state` services.
Initialize a new download stream with the provided ` network ` ` verifier ` and ` state ` services .
network
ZN
verifier
ZV
state
ZS
latest_chain_tip
zs::LatestChainTip