pub struct Schedule<'a> { /* fields omitted */ }
Expand description
Sets initial timeout
to fire timer.
Sets timeout
interval to run periodically after initial
has been fired
Note that if timeout
is zero behavior depends on underlying OS API.
But most often than note it will fire immediately.
Schedules timer execution, using provided settings.
Returns true
if successfully set, otherwise on error returns false
impl<T> Any for T where
T: 'static + ?Sized,
[src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.