pub enum ControlEvent {
Connected {
connection_id: u64,
fd: RawFd,
writer: BlockingFrameWriter<Box<dyn Write + Send>>,
},
Disconnected {
connection_id: u64,
},
}Expand description
Control-plane event the accept loop and response stage exchange. Transport-agnostic — the payload is a socket fd + writer, not an app event — so both build modes refer to the same type.
Variants§
Auto Trait Implementations§
impl Freeze for ControlEvent
impl !RefUnwindSafe for ControlEvent
impl Send for ControlEvent
impl !Sync for ControlEvent
impl Unpin for ControlEvent
impl UnsafeUnpin for ControlEvent
impl !UnwindSafe for ControlEvent
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