pub enum ConnectionEventType {
Connect(EventChunkSender),
Disconnect,
}
Expand description
The type of possible connect event, either connect or disconnect.
Variants§
Connect(EventChunkSender)
A connection event with sink for event stream messages to the connected client.
Disconnect
A disconnection event.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ConnectionEventType
impl !RefUnwindSafe for ConnectionEventType
impl Send for ConnectionEventType
impl Sync for ConnectionEventType
impl Unpin for ConnectionEventType
impl !UnwindSafe for ConnectionEventType
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