#[repr(isize)]pub enum LooperPoll {
Wake = -1,
Callback = -2,
Timeout = -3,
Error = -4,
}Expand description
Result from ALooper_pollOnce() and ALooper_pollAll().
Variants§
Wake = -1
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 = -2
ALOOPER_POLL_CALLBACK
One or more callbacks were executed.
Timeout = -3
ALOOPER_POLL_TIMEOUT
The timeout expired.
Error = -4
ALOOPER_POLL_ERROR
An error occurred.
Trait Implementations§
Source§impl Clone for LooperPoll
impl Clone for LooperPoll
Source§fn clone(&self) -> LooperPoll
fn clone(&self) -> LooperPoll
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LooperPoll
Auto Trait Implementations§
impl Freeze for LooperPoll
impl RefUnwindSafe for LooperPoll
impl Send for LooperPoll
impl Sync for LooperPoll
impl Unpin for LooperPoll
impl UnwindSafe for LooperPoll
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more