pub enum BatchFlow {
Continue,
Stop,
}Expand description
What the consumer wants after a batch: the next one, or the end of the
walk. Stop is RowStream::stop for the statement: the terminal stops
its input stream and the statement fails with Error::Cancelled
("query cancelled"), exactly as a cancelled token ends it.
Variants§
Trait Implementations§
impl Copy for BatchFlow
impl Eq for BatchFlow
impl StructuralPartialEq for BatchFlow
Auto Trait Implementations§
impl Forget for BatchFlow
impl Freeze for BatchFlow
impl Move for BatchFlow
impl RefUnwindSafe for BatchFlow
impl Send for BatchFlow
impl Sync for BatchFlow
impl Unpin for BatchFlow
impl UnsafeUnpin for BatchFlow
impl UnwindSafe for BatchFlow
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.