Struct calloop::Idle[][src]

pub struct Idle<'i> { /* fields omitted */ }

An idle callback that was inserted in this loop

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

Implementations

impl<'i> Idle<'i>[src]

pub fn cancel(self)[src]

Cancel the idle callback if it was not already run

Auto Trait Implementations

impl<'i> !RefUnwindSafe for Idle<'i>[src]

impl<'i> !Send for Idle<'i>[src]

impl<'i> !Sync for Idle<'i>[src]

impl<'i> Unpin for Idle<'i>[src]

impl<'i> !UnwindSafe for Idle<'i>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.