pub trait AudioEngineHandle: Send {
// Required methods
fn start(&self) -> Result<(), BackendError>;
fn stop(&self) -> Result<(), BackendError>;
fn is_running(&self) -> bool;
}Expand description
Handle to a running audio engine. Start/stop control.
Required Methods§
fn start(&self) -> Result<(), BackendError>
fn stop(&self) -> Result<(), BackendError>
fn is_running(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".