Enum android_looper_sys::LooperPoll [] [src]

#[repr(isize)]
pub enum LooperPoll { Wake, Callback, Timeout, Error, }

Result from ALooper_pollOnce() and ALooper_pollAll().

Variants

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.

ALOOPER_POLL_CALLBACK

One or more callbacks were executed.

ALOOPER_POLL_TIMEOUT

The timeout expired.

ALOOPER_POLL_ERROR

An error occurred.

Trait Implementations

impl Clone for LooperPoll
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for LooperPoll
[src]