Skip to main content

Module mode

Module mode 

Source
Expand description

The result a coordination mode hands back to the kernel.

The Mode trait itself lives in macp-modes (behavior), but this enum (data) lives in core because crate::session::Session::apply_mode_response consumes it — keeping it here avoids a macp-core -> macp-modes cycle.

Enums§

ModeResponse
The result of a Mode processing a message. The runtime applies this response to mutate session state.