Skip to main content

cap_turn

Function cap_turn 

Source
fn cap_turn(turn: &mut TurnWire, cap: usize) -> Vec<(Option<String>, RecordCap)>
Expand description

cap_tool_records for one turn, answering what it bounded and the call each belongs to rather than logging it here.

A caller that may not serve the turn must be able to drop the report: a first page cut to a byte budget bounds the records it MEASURES, and only the turns it keeps are served, so only those are logged.