Enum android_looper_sys::LooperPrepareOpts
[−]
[src]
pub enum LooperPrepareOpts {
AllowNonCallbacks,
None,
}Option for for ALooper_prepare().
Variants
AllowNonCallbacksALLOW_NON_CALLBACKS
Option for ALooper_prepare: this looper will accept calls to ALooper_addFd() that do not have a callback (that is provide NULL for the callback). In this case the caller of ALooper_pollOnce() or ALooper_pollAll() MUST check the return from these functions to discover when data is available on such fds and process it.
None0 value, allow only callbacks
Trait Implementations
impl Copy for LooperPrepareOpts[src]
impl Clone for LooperPrepareOpts[src]
fn clone(&self) -> LooperPrepareOpts
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