Skip to main content

enable_flight_recorder_collection

Function enable_flight_recorder_collection 

Source
pub async fn enable_flight_recorder_collection(
    client: Arc<dyn IpcClient>,
    role: FlightRecorderCollectorRole,
) -> Result<(), SubscribeError>
Expand description

Make this context the collector for its client, storing events from role’s forwarders and answering their read requests. Only the first successful call has effect. No-op if the Flight Recorder is disabled.