pub fn stop(
out: &mut dyn Write,
endpoint: &Endpoint,
args: &StopArgs,
) -> Result<(), CliError>Expand description
Stops a dataflow’s in-progress recording.
§Errors
CliError::UnknownDataflowif the dataflow reference resolves to nothing.CliError::Refusedif the dataflow was not recording (the coordinator answersRecordStopfor a non-recording dataflow with an error, not a silent no-op — seehandlers::misc::record_stop).- As
Client::request_okotherwise.