pub struct SseEventParser { /* private fields */ }Expand description
Incremental SSE event parser.
Unlike extract_sse_data_lines, this parser follows event boundaries and
joins multiple data: lines in the same event with \n.
Implementations§
Trait Implementations§
Source§impl Debug for SseEventParser
impl Debug for SseEventParser
Source§impl Default for SseEventParser
impl Default for SseEventParser
Source§fn default() -> SseEventParser
fn default() -> SseEventParser
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SseEventParser
impl RefUnwindSafe for SseEventParser
impl Send for SseEventParser
impl Sync for SseEventParser
impl Unpin for SseEventParser
impl UnsafeUnpin for SseEventParser
impl UnwindSafe for SseEventParser
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more