pub struct VoiceEcho { /* private fields */ }Expand description
The voice-echo plugin. Manages the voice pipeline lifecycle.
Implementations§
Source§impl VoiceEcho
impl VoiceEcho
Sourcepub async fn start(&mut self) -> Result<(), Box<dyn Error + Send + Sync>>
pub async fn start(&mut self) -> Result<(), Box<dyn Error + Send + Sync>>
Start the voice server. Builds state, binds the listener, and serves.
This blocks until the server is shut down via stop().
Trait Implementations§
Source§impl Plugin for VoiceEcho
impl Plugin for VoiceEcho
Source§fn meta(&self) -> PluginMeta
fn meta(&self) -> PluginMeta
Plugin identity (name, version, description).
Source§fn role(&self) -> PluginRole
fn role(&self) -> PluginRole
What role this plugin fills in the system.
Source§fn start(&mut self) -> PluginResult<'_>
fn start(&mut self) -> PluginResult<'_>
Start the plugin. Called once after construction.
Source§fn stop(&mut self) -> PluginResult<'_>
fn stop(&mut self) -> PluginResult<'_>
Stop the plugin gracefully.
Source§fn health(&self) -> Pin<Box<dyn Future<Output = HealthStatus> + Send + '_>>
fn health(&self) -> Pin<Box<dyn Future<Output = HealthStatus> + Send + '_>>
Report current health.
Source§fn setup_prompts(&self) -> Vec<SetupPrompt>
fn setup_prompts(&self) -> Vec<SetupPrompt>
Optional: setup wizard prompts for first-time configuration.
Source§fn scheduled_tasks(&self) -> Vec<ScheduledTask>
fn scheduled_tasks(&self) -> Vec<ScheduledTask>
Optional: contribute scheduled tasks.
Auto Trait Implementations§
impl Freeze for VoiceEcho
impl !RefUnwindSafe for VoiceEcho
impl Send for VoiceEcho
impl Sync for VoiceEcho
impl Unpin for VoiceEcho
impl UnsafeUnpin for VoiceEcho
impl !UnwindSafe for VoiceEcho
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more