Struct event_stream_types::ConnectionEvent
source · pub struct ConnectionEvent {
pub typ: ConnectionEventType,
pub session_key: SessionKey,
pub connection_key: ConnectionKey,
pub path: String,
}Expand description
State associated with connection or disconnection.
Fields§
§typ: ConnectionEventTypeThe type of connection for this event.
session_key: SessionKeyIdentifier for the connecting session (one per browser).
connection_key: ConnectionKeyIdentifier for the connection (one per tab).
path: StringThe path being requested (starts with BuiService::events_prefix).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConnectionEvent
impl !RefUnwindSafe for ConnectionEvent
impl Send for ConnectionEvent
impl Sync for ConnectionEvent
impl Unpin for ConnectionEvent
impl !UnwindSafe for ConnectionEvent
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