pub fn expected_responses(&self) -> u64 {
        match self {
            RPCRequest::Status(_) => 1,
            RPCRequest::Goodbye(_) => 0,
            RPCRequest::BlocksByRange(req) => req.count,
            RPCRequest::BlocksByRoot(req) => req.block_roots.len() as u64,
            RPCRequest::Ping(_) => 1,
            RPCRequest::MetaData(_) => 1,
        }
    }
/// Number of responses expected for this request.
Number of responses expected for this request.
Number of responses expected for this request .
pub fn expected_responses(&self) -> u64 {
        match self {
            RPCRequest::Status(_) => 1,
            RPCRequest::Goodbye(_) => 0,
            RPCRequest::BlocksByRange(req) => req.count,
            RPCRequest::BlocksByRoot(req) => req.block_roots.len() as u64,
            RPCRequest::Ping(_) => 1,
            RPCRequest::MetaData(_) => 1,
        }
    }
pub fn expected_responses ( & self ) -> u64 { match self { RPCRequest :: Status ( _ ) => 1 , RPCRequest :: Goodbye ( _ ) => 0 , RPCRequest :: BlocksByRange ( req ) => req . count , RPCRequest :: BlocksByRoot ( req ) => req . block_roots . len ( ) as u64 , RPCRequest :: Ping ( _ ) => 1 , RPCRequest :: MetaData ( _ ) => 1 , } }
Number of responses expected for this request.
Number of responses expected for this request .
&self