aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWedson Almeida Filho <[email protected]>2023-01-30 03:44:00 -0300
committerMiguel Ojeda <[email protected]>2023-02-01 00:14:01 +0100
commit4d4692a2ff836487c17960a6211a4cce7094f09c (patch)
tree1e4d1feb8d391448da47343301d8f8a83674cacf /tools/perf/scripts/python/export-to-postgresql.py
parentdec1df547d812a5ced4de29e7eadcfa0484bec1e (diff)
rust: types: introduce `ScopeGuard`
This allows us to run some code when the guard is dropped (e.g., implicitly when it goes out of scope). We can also prevent the guard from running by calling its `dismiss()` method. Signed-off-by: Wedson Almeida Filho <[email protected]> Reviewed-by: Vincenzo Palazzo <[email protected]> Reviewed-by: Andreas Hindborg <[email protected]> Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions