Trait wireplumber::plugin::AsyncPluginExt

source ·
pub trait AsyncPluginExt: IsA<Plugin> {
    // Required methods
    fn as_plugin(&self) -> &Plugin;
    fn plugin_core(&self) -> Core;
    fn plugin_context(&self) -> MainContext;
    fn spawn_local<F: Future<Output = ()> + 'static>(&self, f: F);
}

Required Methods§

source

fn as_plugin(&self) -> &Plugin

source

fn plugin_core(&self) -> Core

source

fn plugin_context(&self) -> MainContext

source

fn spawn_local<F: Future<Output = ()> + 'static>(&self, f: F)

Object Safety§

This trait is not object safe.

Implementors§