pub struct StreamSink { /* private fields */ }Expand description
Accumulates server-sent-event (SSE) framed bytes for a streamed response.
Implementations§
Trait Implementations§
Source§impl Clone for StreamSink
impl Clone for StreamSink
Source§fn clone(&self) -> StreamSink
fn clone(&self) -> StreamSink
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StreamSink
impl Debug for StreamSink
Source§impl Default for StreamSink
impl Default for StreamSink
Source§fn default() -> StreamSink
fn default() -> StreamSink
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StreamSink
impl RefUnwindSafe for StreamSink
impl Send for StreamSink
impl Sync for StreamSink
impl Unpin for StreamSink
impl UnsafeUnpin for StreamSink
impl UnwindSafe for StreamSink
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