pub struct Schedule<'a> { /* private fields */ }
Expand description

Timer’s schedule

Implementations

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

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.