Skip to main content

clear

Function clear 

Source
pub fn clear()
Available on crate feature std only.
Expand description

Remove all context entries on the current thread.

Intended for tests; production code should rely on ContextGuard drop semantics.