//! Capability-checked WebAssembly plugin loading.
use Result;
use ;
use crate::;
/// Loads a WebAssembly audio plugin after checking the wasm-plugin capability.
///
/// # Errors
///
/// Returns a capability error when `caps` does not include
/// [`AudioPluginCapability::WasmPlugin`]. Returns an eval error when the wasm
/// module is invalid or misses required exports.