Struct nativeshell::codec::MethodInvoker [−][src]
pub struct MethodInvoker<V> where
V: 'static, { /* fields omitted */ }
Implementations
pub fn call_method<F>(&self, method: String, args: V, reply: F) -> Result<()> where
F: FnOnce(Result<V, MethodCallError<V>>) + 'static,
Trait Implementations
Auto Trait Implementations
impl<V> !RefUnwindSafe for MethodInvoker<V>
impl<V> !Send for MethodInvoker<V>
impl<V> !Sync for MethodInvoker<V>
impl<V> Unpin for MethodInvoker<V>
impl<V> !UnwindSafe for MethodInvoker<V>
Blanket Implementations
Mutably borrows from an owned value. Read more