pub enum ProxyEvent {
Request(Box<RequestEvent>),
SessionStart(SessionStartEvent),
SessionEnd(SessionEndEvent),
Heartbeat(HeartbeatEvent),
SchemaVersionCreated(SchemaVersionCreatedEvent),
}Expand description
All events flowing through the event bus.
Each variant represents a distinct lifecycle moment. Sinks match on the variant to decide what to process.
Variants§
Request(Box<RequestEvent>)
An MCP request completed (success or error).
SessionStart(SessionStartEvent)
A new MCP session established via initialize handshake.
SessionEnd(SessionEndEvent)
A session was closed (clean transport disconnect).
Heartbeat(HeartbeatEvent)
Periodic health snapshot emitted by the health check loop.
SchemaVersionCreated(SchemaVersionCreatedEvent)
A new SchemaVersion was created inside the proxy’s SchemaManager.
Emitted after pagination merge + change detection. Consumers
(SQLite writer, cloud sink) persist or forward the version directly
from the event — no secondary lookup required.
Trait Implementations§
Source§impl Clone for ProxyEvent
impl Clone for ProxyEvent
Source§fn clone(&self) -> ProxyEvent
fn clone(&self) -> ProxyEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProxyEvent
impl Debug for ProxyEvent
Auto Trait Implementations§
impl Freeze for ProxyEvent
impl RefUnwindSafe for ProxyEvent
impl Send for ProxyEvent
impl Sync for ProxyEvent
impl Unpin for ProxyEvent
impl UnsafeUnpin for ProxyEvent
impl UnwindSafe for ProxyEvent
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