pub struct SseParser { /* private fields */ }Expand description
Incremental SSE decoder. Feed it raw bytes in arbitrary chunks (a chunk may end in
the middle of a line or of a UTF-8 character); it returns each completed event’s
data payload.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for SseParser
impl Freeze for SseParser
impl Move for SseParser
impl RefUnwindSafe for SseParser
impl Send for SseParserwhere
RawVecInner: Send,
impl Sync for SseParserwhere
RawVecInner: Sync,
impl Unpin for SseParser
impl UnsafeUnpin for SseParserwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for SseParserwhere
RawVecInner: UnwindSafe,
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