pub struct SseReader<B> { /* private fields */ }Available on crate feature
client only.Expand description
A reader for SSE response body.
Wraps a streaming response body and parses it into SseEvents.
Implementations§
Source§impl<B> SseReader<B>
impl<B> SseReader<B>
Auto Trait Implementations§
impl<B> Freeze for SseReader<B>where
B: Freeze,
impl<B> RefUnwindSafe for SseReader<B>where
B: RefUnwindSafe,
impl<B> Send for SseReader<B>where
B: Send,
impl<B> Sync for SseReader<B>where
B: Sync,
impl<B> Unpin for SseReader<B>where
B: Unpin,
impl<B> UnsafeUnpin for SseReader<B>where
B: UnsafeUnpin,
impl<B> UnwindSafe for SseReader<B>where
B: 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