pub struct ActivityHub { /* private fields */ }Expand description
Activity manager that keeps per-stream activity state and emits events on updates.
Implementations§
Source§impl ActivityHub
impl ActivityHub
Sourcepub fn new(sender: UnboundedSender<AgentEvent>) -> Self
pub fn new(sender: UnboundedSender<AgentEvent>) -> Self
Create a new activity hub.
Trait Implementations§
Source§impl ActivityManager for ActivityHub
impl ActivityManager for ActivityHub
Auto Trait Implementations§
impl !Freeze for ActivityHub
impl RefUnwindSafe for ActivityHub
impl Send for ActivityHub
impl Sync for ActivityHub
impl Unpin for ActivityHub
impl UnsafeUnpin for ActivityHub
impl UnwindSafe for ActivityHub
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