pub struct RowStream { /* private fields */ }Expand description
An owned stream of rows (house rule: no lifetime parameter).
A bounded channel fed by a producer the backend runs; dropping the stream
closes the channel, which the producer observes as its signal to stop and
release its connection. Deliberately a concrete struct rather than
impl Stream, so the futures crate stays out of the public API; a Stream
impl can be added behind a feature later without breaking anything.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RowStream
impl RefUnwindSafe for RowStream
impl Send for RowStream
impl Sync for RowStream
impl Unpin for RowStream
impl UnsafeUnpin for RowStream
impl UnwindSafe for RowStream
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