pub async fn send_scan_error_over_fidl(
    output_iterator: ServerEnd<ScanResultIteratorMarker>,
    error_code: ScanError
) -> Result<(), Error>
Expand description

On the next request for results, send an error to the output iterator and shut it down.