pub struct ConnectionEvent {
pub typ: ConnectionEventType,
pub connection_key: ConnectionKey,
}Expand description
State associated with connection or disconnection.
Fields§
§typ: ConnectionEventTypeThe type of connection for this event.
connection_key: ConnectionKeyIdentifier for the connection (one per tab).
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 UnsafeUnpin 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