pub struct StreamSink<'a> { /* private fields */ }Expand description
The engine-side handle a statement carries for its consumer: wraps the
caller’s RowConsumer with whether it has been engaged (columns were
announced), so the boundary can tell a statement whose rows streamed
from one whose result still sits in its QueryResult — the materialized
forms (writes, EXPLAIN, catalog commands, UNION folds, breakers)
replay their rows through the same sink after the run.
Implementations§
Source§impl<'a> StreamSink<'a>
impl<'a> StreamSink<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for StreamSink<'a>
impl<'a> !Sync for StreamSink<'a>
impl<'a> !UnwindSafe for StreamSink<'a>
impl<'a> Forget for StreamSink<'a>
impl<'a> Freeze for StreamSink<'a>where
&'a mut dyn RowConsumer: Freeze,
impl<'a> Move for StreamSink<'a>
impl<'a> Send for StreamSink<'a>
impl<'a> Unpin for StreamSink<'a>where
&'a mut dyn RowConsumer: Unpin,
impl<'a> UnsafeUnpin for StreamSink<'a>where
&'a mut dyn RowConsumer: UnsafeUnpin,
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