fn request(&mut self, data: RequestData, peer: PublicKey) {
        let is_new = self.state.request(data.clone(), peer);
        if is_new {
            self.add_request_timeout(data, None);
        }
    }
/// Adds request timeout if it isn't already requested.
Adds request timeout if it isn't already requested.
Adds request timeout if it isn ' t already requested .
fn request(&mut self, data: RequestData, peer: PublicKey) {
        let is_new = self.state.request(data.clone(), peer);
        if is_new {
            self.add_request_timeout(data, None);
        }
    }
fn request ( & mut self , data : RequestData , peer : PublicKey ) { let is_new = self . state . request ( data . clone ( ) , peer ) ; if is_new { self . add_request_timeout ( data , None ) ; } }
Adds request timeout if it isn't already requested.
Adds request timeout if it isn ' t already requested .
&mut self
data
RequestData
peer
PublicKey
&mut self
data
RequestData
peer
PublicKey