pub struct SseDecoder { /* private fields */ }Expand description
Server-Sent Events: data: lines join with \n per event, a blank line
dispatches, : comments and other fields are ignored (retry: is kept
as SseDecoder::retry_ms), an event: name outside SSE_EVENTS drops
the event. An event’s data is one message or JSONL.
Implementations§
Source§impl SseDecoder
impl SseDecoder
Trait Implementations§
Source§impl Clone for SseDecoder
impl Clone for SseDecoder
Source§impl Debug for SseDecoder
impl Debug for SseDecoder
Auto Trait Implementations§
impl Freeze for SseDecoder
impl RefUnwindSafe for SseDecoder
impl Send for SseDecoder
impl Sync for SseDecoder
impl Unpin for SseDecoder
impl UnsafeUnpin for SseDecoder
impl UnwindSafe for SseDecoder
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