pub struct SSEProxySharedState { /* private fields */ }
Expand description
Shared state for the SSE proxy
This struct provides shared state that can be used by Actix Web handlers. It’s wrapped in an Arc<Mutex<_>> and passed to handlers via Data.
Implementations§
pub fn runner_access(&self) -> &SSEProxyRunnerAccess
pub fn event_manager(&self) -> &Arc<EventManager>
pub fn server_info(&self) -> &Arc<Mutex<HashMap<String, ServerInfo>>>
Auto Trait Implementations§
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