Expand description
KernelEvent and supporting enums.
#[non_exhaustive] everywhere: external matchers cannot wildcard-match,
so adding a variant is not breaking for external consumers. The
clippy::wildcard_enum_match_arm = deny lint enforces this within
the crate as well.
Structs§
- Event
Mask - Event-class filter for observer registration. One bit per
KernelEventvariant; an observer registered with a mask only receives events whose variant bit is set.EventMask::ALL(theDefault) matches every variant — backward-compatible with the unfilteredKernel::register_observerpath. - Observer
Handle - Stable observer registration handle returned by
Kernel::register_observer.
Enums§
- Defer
Reason - Why a scheduled action was deferred to the next tick.
- Kernel
Event - Top-level kernel-emitted event. Routed through observer filters and recorded in WAL (chunks 3b/c+).
- Signal
Drop Reason - Why a
SendSignalop was dropped before delivery.