pub struct SseParser { /* private fields */ }Expand description
Stateful Server-Sent Events parser.
Buffers incomplete events across calls to [feed] so that events split
across HTTP chunk boundaries are handled correctly.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SseParser
impl RefUnwindSafe for SseParser
impl Send for SseParser
impl Sync for SseParser
impl Unpin for SseParser
impl UnsafeUnpin for SseParser
impl UnwindSafe for SseParser
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