pub fn cancel(&mut self, id: QueryId) -> bool {
        let res = self.query_manager.cancel(id);
        if res {
            REQUESTS_CANCELED.inc();
        }
        res
    }
/// Cancels an in progress query. Returns true if a query was cancelled.
Cancels an in progress query. Returns true if a query was cancelled.
Cancels an in progress query . Returns true if a query was cancelled .
pub fn cancel(&mut self, id: QueryId) -> bool {
        let res = self.query_manager.cancel(id);
        if res {
            REQUESTS_CANCELED.inc();
        }
        res
    }
pub fn cancel ( & mut self , id : QueryId ) -> bool { let res = self . query_manager . cancel ( id ) ; if res { REQUESTS_CANCELED . inc ( ) ; } res }
Cancels an in progress query.
Cancels an in progress query .
&mut self
id
QueryId
&mut self
id
QueryId