1 2 3 4 5 6 7 8
use super::{ProviderEvent, StreamParser}; impl StreamParser { // Event-only adapter for profile_cpu_sse_parser. pub(crate) fn push_chunk(&mut self, chunk: &str) -> anyhow::Result<Vec<ProviderEvent>> { Ok(self.push_chunk_outcome(chunk)?.events) } }