pub struct EventRouter;Implementations§
Source§impl EventRouter
impl EventRouter
pub async fn route_agui(user_id: &UserId, event: AgUiEvent) -> (usize, usize)
pub async fn route_a2a(user_id: &UserId, event: A2AEvent) -> (usize, usize)
pub async fn route_system(user_id: &UserId, event: SystemEvent) -> usize
pub async fn route_analytics(user_id: &UserId, event: AnalyticsEvent) -> usize
Trait Implementations§
Source§impl Clone for EventRouter
impl Clone for EventRouter
Source§fn clone(&self) -> EventRouter
fn clone(&self) -> EventRouter
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 moreSource§impl Debug for EventRouter
impl Debug for EventRouter
impl Copy for EventRouter
Auto Trait Implementations§
impl Freeze for EventRouter
impl RefUnwindSafe for EventRouter
impl Send for EventRouter
impl Sync for EventRouter
impl Unpin for EventRouter
impl UnwindSafe for EventRouter
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