Struct Guard
crude_profiler
pub struct Guard {}
A Guard causes a task to end when it is dropped.
Guard
impl Guard
fn replace(&self, task: &'static str)
Replace the last task pushed with a new one.
impl Drop for Guard
fn drop(&mut self)
A method called when the value goes out of scope. Read more