MCPcopy Create free account
hub / github.com/HFQR/xitca-web / drop

Method drop

postgres/src/statement.rs:52–56  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

50 C: ClientBorrow,
51{
52 fn drop(&mut self) {
53 if let Some(stmt) = self.stmt.take() {
54 let _ = self.cli.borrow_cli_ref().query_unbounded_raw(stmt.cancel());
55 }
56 }
57}
58
59impl<C> StatementGuarded<'_, C>

Callers

nothing calls this directly

Calls 4

query_rawMethod · 0.80
cancelMethod · 0.80
takeMethod · 0.45
borrow_cli_refMethod · 0.45

Tested by

no test coverage detected