Enum android_looper_sys::LooperPoll [] [src]

pub enum LooperPoll {
    Wake,
    Callback,
    Timeout,
    Error,
}

Result from ALooper_pollOnce() and ALooper_pollAll().

Variants

Wake

ALOOPER_POLL_WAKE

The poll was awoken using wake() before the timeout expired and no callbacks were executed and no other file descriptors were ready.

Callback

ALOOPER_POLL_CALLBACK

One or more callbacks were executed.

Timeout

ALOOPER_POLL_TIMEOUT

The timeout expired.

Error

ALOOPER_POLL_ERROR

An error occurred.

Trait Implementations

Derived Implementations

impl Copy for LooperPoll

impl Clone for LooperPoll

fn clone(&self) -> LooperPoll

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