Trait wireplumber::plugin::AsyncPluginImpl
source · pub trait AsyncPluginImpl: ObjectSubclass {
type EnableFuture: Future<Output = Result<(), Error>>;
// Required method
fn enable(&self, plugin: Self::Type) -> Self::EnableFuture;
// Provided methods
fn disable(&self) { ... }
fn register_source(&self, source: SourceId) { ... }
}
Required Associated Types§
Required Methods§
fn enable(&self, plugin: Self::Type) -> Self::EnableFuture
Provided Methods§
fn disable(&self)
fn register_source(&self, source: SourceId)
Object Safety§
This trait is not object safe.