pub struct EventsConfig {
pub auto_turn: bool,
pub auto_turn_cap: u32,
}Expand description
Runtime event routing configuration parsed from events.* keys.
Controls how runtime events (from the EventQueue) are delivered in
server and RPC modes.
Fields§
§auto_turn: boolWhen true (default), the server/RPC/daemon session automatically
triggers a model turn when runtime events arrive while idle. Set
events.auto_turn = false (or 0 / no / off) to opt out.
Unrecognised values fail safe to false with a warning.
The consecutive-turn cap (auto_turn_cap) still applies regardless.
auto_turn_cap: u32Maximum number of consecutive auto-triggered model turns before the
engine parks and waits for real user input. Set via
events.auto_turn_cap = N. Default 5.
0 (or unlimited / inf / infinite) disables the cap entirely —
“to infinity and beyond”. Unparseable values warn and keep the default.
Trait Implementations§
Source§impl Clone for EventsConfig
impl Clone for EventsConfig
Source§impl Debug for EventsConfig
impl Debug for EventsConfig
Auto Trait Implementations§
impl Freeze for EventsConfig
impl RefUnwindSafe for EventsConfig
impl Send for EventsConfig
impl Sync for EventsConfig
impl Unpin for EventsConfig
impl UnsafeUnpin for EventsConfig
impl UnwindSafe for EventsConfig
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