Struct calloop::Idle

source ·
pub struct Idle { /* private fields */ }
Expand description

An idle callback that was inserted in this loop

This handle allows you to cancel the callback. Dropping it will not cancel it.

Implementations

Cancel the idle callback if it was not already run

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.