#[non_exhaustive]pub enum RuntimeEvent {
InputLifecycle(InputLifecycleEvent),
RunLifecycle(RunLifecycleEvent),
RuntimeStateChange(RuntimeStateChangeEvent),
Topology(RuntimeTopologyEvent),
Projection(RuntimeProjectionEvent),
}Expand description
Runtime event categories and codes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InputLifecycle(InputLifecycleEvent)
Input lifecycle state transitions.
RunLifecycle(RunLifecycleEvent)
Run lifecycle state transitions.
RuntimeStateChange(RuntimeStateChangeEvent)
Runtime state transitions.
Topology(RuntimeTopologyEvent)
Topology changes (agents joining/leaving).
Projection(RuntimeProjectionEvent)
Projection-derived events.
Implementations§
Source§impl RuntimeEvent
impl RuntimeEvent
Sourcepub fn event_code(&self) -> EventCodeId
pub fn event_code(&self) -> EventCodeId
Get the stable event code for wire formats.
Trait Implementations§
Source§impl Clone for RuntimeEvent
impl Clone for RuntimeEvent
Source§fn clone(&self) -> RuntimeEvent
fn clone(&self) -> RuntimeEvent
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 RuntimeEvent
impl Debug for RuntimeEvent
Source§impl<'de> Deserialize<'de> for RuntimeEvent
impl<'de> Deserialize<'de> for RuntimeEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RuntimeEvent
impl RefUnwindSafe for RuntimeEvent
impl Send for RuntimeEvent
impl Sync for RuntimeEvent
impl Unpin for RuntimeEvent
impl UnsafeUnpin for RuntimeEvent
impl UnwindSafe for RuntimeEvent
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