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

impl Copy for LooperPoll
[src]

impl Clone for LooperPoll
[src]

fn clone(&self) -> LooperPoll

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more