pub enum DispatchEvent {
Voice(String),
Hotkey(String),
Mcp(String),
Gesture(String),
Agent(String, Vec<u8>),
Health(String),
}Expand description
Dispatcher hint for event routing
Variants§
Voice(String)
Voice event with transcription
Hotkey(String)
Hotkey event with key sequence
Mcp(String)
MCP event with JSON payload
Gesture(String)
Gesture event with JSON-serialized InteractionEvent
Agent(String, Vec<u8>)
Agent event with topic and raw bytes
Health(String)
Health check event
Trait Implementations§
Source§impl Clone for DispatchEvent
impl Clone for DispatchEvent
Source§fn clone(&self) -> DispatchEvent
fn clone(&self) -> DispatchEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DispatchEvent
impl RefUnwindSafe for DispatchEvent
impl Send for DispatchEvent
impl Sync for DispatchEvent
impl Unpin for DispatchEvent
impl UnwindSafe for DispatchEvent
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