MCPcopy Create free account
hub / github.com/apache/fory / drop

Method drop

rust/tests/tests/test_debug.rs:95–98  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

93
94impl Drop for HookGuard {
95 fn drop(&mut self) {
96 reset_struct_debug_hooks();
97 event_log().lock().unwrap().clear();
98 }
99}
100
101#[test]

Callers

nothing calls this directly

Calls 5

reset_struct_debug_hooksFunction · 0.85
event_logFunction · 0.85
lockMethod · 0.65
clearMethod · 0.45
unwrapMethod · 0.45

Tested by

no test coverage detected