pub fn blocks_by_range_request(
        peer_id: PeerId,
        request_id: PeerRequestId,
        request: BlocksByRangeRequest,
    ) -> Self {
        Self {
            drop_during_sync: false,
            work: Work::BlocksByRangeRequest {
                peer_id,
                request_id,
                request,
            },
        }
    }
/// Create a new work event to process `BlocksByRangeRequest`s from the RPC network.
Create a new work event to process `BlocksByRangeRequest`s from the RPC network.
Create a new work event to process ` BlocksByRangeRequest ` s from the RPC network .
pub fn blocks_by_range_request(
        peer_id: PeerId,
        request_id: PeerRequestId,
        request: BlocksByRangeRequest,
    ) -> Self {
        Self {
            drop_during_sync: false,
            work: Work::BlocksByRangeRequest {
                peer_id,
                request_id,
                request,
            },
        }
    }
pub fn blocks_by_range_request ( peer_id : PeerId , request_id : PeerRequestId , request : BlocksByRangeRequest , ) -> Self { Self { drop_during_sync : false , work : Work :: BlocksByRangeRequest { peer_id , request_id , request , } , } }
Create a new work event to process `BlocksByRangeRequest`s from the RPC network.
Create a new work event to process ` BlocksByRangeRequest ` s from the RPC network .
peer_id
PeerId
request_id
PeerRequestId
request
BlocksByRangeRequest