pub struct RunningQuery {
pub handle: QueryHandle,
pub rows: ResultStream,
}Expand description
A running query — a QueryHandle for cancellation paired
with the ResultStream of rows.
Fields§
§handle: QueryHandleHandle for cancel + id.
rows: ResultStreamStream of rows. Terminates either when the operator tree is exhausted or when the handle’s cancel flag is flipped.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for RunningQuery
impl !Sync for RunningQuery
impl !UnwindSafe for RunningQuery
impl Freeze for RunningQuery
impl Send for RunningQuery
impl Unpin for RunningQuery
impl UnsafeUnpin for RunningQuery
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