pub struct SseStream { /* private fields */ }Expand description
SSE 流
专门处理 Server-Sent Events 的流式响应
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SseStream
impl !UnwindSafe for SseStream
impl Freeze for SseStream
impl Send for SseStream
impl Sync for SseStream
impl Unpin for SseStream
impl UnsafeUnpin for SseStream
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