pub struct CollectPipeline<T: 'static> { /* private fields */ }Expand description
Pipeline terminated with collect — returns items as Vec<T>.
Implementations§
Source§impl<T: Serialize + DeserializeOwned + 'static> CollectPipeline<T>
impl<T: Serialize + DeserializeOwned + 'static> CollectPipeline<T>
Sourcepub fn run(&mut self) -> Result<Vec<T>, FabricError>
pub fn run(&mut self) -> Result<Vec<T>, FabricError>
Run the pipeline and return collected items.
Auto Trait Implementations§
impl<T> Freeze for CollectPipeline<T>
impl<T> !RefUnwindSafe for CollectPipeline<T>
impl<T> !Send for CollectPipeline<T>
impl<T> !Sync for CollectPipeline<T>
impl<T> Unpin for CollectPipeline<T>where
T: Unpin,
impl<T> !UnwindSafe for CollectPipeline<T>
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