pub struct SseConnection {
pub id: String,
pub receiver: Receiver<SseEvent>,
}Expand description
Individual SSE connection
Fields§
§id: StringConnection ID
receiver: Receiver<SseEvent>Receiver for events
Implementations§
Source§impl SseConnection
impl SseConnection
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SseConnection
impl !RefUnwindSafe for SseConnection
impl Send for SseConnection
impl Sync for SseConnection
impl Unpin for SseConnection
impl !UnwindSafe for SseConnection
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