pub trait SSEContentExtractor {
// Required method
fn extract_content(&self) -> Option<&str>;
}Expand description
A trait for extracting content from SSE response chunks
Required Methods§
Sourcefn extract_content(&self) -> Option<&str>
fn extract_content(&self) -> Option<&str>
Extract the content string from the parsed response
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".