Trait nativeshell::shell::AsyncMethodCallHandler[][src]

pub trait AsyncMethodCallHandler: Sized + 'static {
    fn on_method_call<'life0, 'async_trait>(
        &'life0 self,
        call: MethodCall<Value>,
        engine: EngineHandle
    ) -> Pin<Box<dyn Future<Output = MethodCallResult<Value>> + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn assign_weak_self(&mut self, _weak_self: Weak<RefCell<Self>>) { ... }
fn assign_invoker(&mut self, _invoker: AsyncMethodInvoker) { ... }
fn on_engine_destroyed(&self, _engine: EngineHandle) { ... }
fn register(
        self,
        context: Context,
        channel: &str
    ) -> RegisteredAsyncMethodCallHandler<Self> { ... } }

Required methods

Provided methods

Implementors