pub struct PipelineItem<'a> { /* private fields */ }
Expand description
streaming item of certain query inside pipeline’s PipelineStream. impl AsyncLendingIterator and can be used to collect Row from item.
Implementations§
Source§impl PipelineItem<'_>
impl PipelineItem<'_>
Sourcepub async fn row_affected(self) -> Result<u64, Error>
pub async fn row_affected(self) -> Result<u64, Error>
collect rows affected by this pipelined query. Row information will be ignored.
Sourcepub fn row_affected_blocking(self) -> Result<u64, Error>
pub fn row_affected_blocking(self) -> Result<u64, Error>
blocking version of PipelineItem::row_affected
Trait Implementations§
Source§impl AsyncLendingIterator for PipelineItem<'_>
impl AsyncLendingIterator for PipelineItem<'_>
Auto Trait Implementations§
impl<'a> Freeze for PipelineItem<'a>
impl<'a> RefUnwindSafe for PipelineItem<'a>
impl<'a> Send for PipelineItem<'a>
impl<'a> Sync for PipelineItem<'a>
impl<'a> Unpin for PipelineItem<'a>
impl<'a> !UnwindSafe for PipelineItem<'a>
Blanket Implementations§
Source§impl<I> AsyncLendingIteratorExt for Iwhere
I: AsyncLendingIterator,
impl<I> AsyncLendingIteratorExt for Iwhere
I: AsyncLendingIterator,
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