Struct Guard
crude_profiler
pub struct Guard {}
A Guard causes a task to end when it is dropped.
Guard
impl Drop for Guard
fn drop(&mut self)
A method called when the value goes out of scope. Read more