pub struct AppState { /* private fields */ }Implementations§
Source§impl AppState
impl AppState
pub fn task_store(&self) -> &TaskStore
pub fn agent_card(&self) -> &AgentCard
pub fn event_sender(&self) -> &Sender<StreamResponse>
pub fn subscribe_events(&self) -> Receiver<StreamResponse>
pub fn broadcast_event(&self, event: StreamResponse)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AppState
impl !RefUnwindSafe for AppState
impl Send for AppState
impl Sync for AppState
impl Unpin for AppState
impl !UnwindSafe for AppState
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