Struct timer::Guard [] [src]

pub struct Guard {
    // some fields omitted
}

A value scoping a schedule. When this value is dropped, the schedule is cancelled.

Trait Implementations

impl Clone for Guard
[src]

fn clone(&self) -> Guard

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Drop for Guard
[src]

fn drop(&mut self)

Cancel a schedule.