Skip to main content

to_log_control

Function to_log_control 

Source
pub fn to_log_control(control: &ExecutionControl) -> ExecutionControl
Expand description

Converts core’s rich crate::ExecutionControl into the log crate’s minimal mirror (see docs/architecture/adr/0002).

The deadline maps directly. Core’s cancellation hierarchy (parent/child reasons, first-event-wins ordering) is not representable as one shared atomic flag, so cancellation is left None: callers enforce cancellation through ExecutionControl::checkpoint before proposing, exactly as the commit sequencer already does.