Struct android_looper::AcquiredLooper
[−]
[src]
pub struct AcquiredLooper { /* fields omitted */ }
RAII
acquired looper wrapper.
This prevents the object from being deleted until this wrapper is dropped. This is only needed to safely hand an ALooper from one thread to another.
Methods
impl AcquiredLooper
[src]
fn from_ref(looper: LooperRef) -> AcquiredLooper
Acquire looper to prevent its deletion until this object is dropped.