binder::binder_impl

Trait BinderAsyncRuntime

Source
pub trait BinderAsyncRuntime {
    // Required method
    fn block_on<F: Future>(&self, future: F) -> F::Output;
}
Expand description

A runtime for executing an async binder server.

Required Methods§

Source

fn block_on<F: Future>(&self, future: F) -> F::Output

Block on the provided future, running it to completion and returning its output.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§