pub struct ChainFactory<DF: RecFamily, CurF: RecFamily, D, P, E, R> { /* private fields */ }Expand description
Stamps out identical chains — one per pipeline thread. Send + Sync
when the deserializer, stage closures, encoder, and router are.
Implementations§
Source§impl<DF, CurF, D, P, E, R> ChainFactory<DF, CurF, D, P, E, R>where
DF: RecFamily,
CurF: RecFamily,
D: Deserializer<DF> + Clone + 'static,
P: Assemble<SinkHandoff<CurF, E, R>>,
P::Out: for<'buf> Collector<<DF as RecFamily>::Rec<'buf>> + StageLifecycle + Send + 'static,
E: RowEncoder<CurF> + Clone + 'static,
R: ShardRouter + Clone + Send + 'static,
impl<DF, CurF, D, P, E, R> ChainFactory<DF, CurF, D, P, E, R>where
DF: RecFamily,
CurF: RecFamily,
D: Deserializer<DF> + Clone + 'static,
P: Assemble<SinkHandoff<CurF, E, R>>,
P::Out: for<'buf> Collector<<DF as RecFamily>::Rec<'buf>> + StageLifecycle + Send + 'static,
E: RowEncoder<CurF> + Clone + 'static,
R: ShardRouter + Clone + Send + 'static,
Sourcepub fn make(&self) -> Box<dyn RunnableChain>
pub fn make(&self) -> Box<dyn RunnableChain>
Build one more identical chain.
Trait Implementations§
Source§impl<DF: Clone + RecFamily, CurF: Clone + RecFamily, D: Clone, P: Clone, E: Clone, R: Clone> Clone for ChainFactory<DF, CurF, D, P, E, R>
impl<DF: Clone + RecFamily, CurF: Clone + RecFamily, D: Clone, P: Clone, E: Clone, R: Clone> Clone for ChainFactory<DF, CurF, D, P, E, R>
Source§fn clone(&self) -> ChainFactory<DF, CurF, D, P, E, R>
fn clone(&self) -> ChainFactory<DF, CurF, D, P, E, R>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<DF, CurF, D, P, E, R> Freeze for ChainFactory<DF, CurF, D, P, E, R>
impl<DF, CurF, D, P, E, R> !RefUnwindSafe for ChainFactory<DF, CurF, D, P, E, R>
impl<DF, CurF, D, P, E, R> Send for ChainFactory<DF, CurF, D, P, E, R>
impl<DF, CurF, D, P, E, R> Sync for ChainFactory<DF, CurF, D, P, E, R>
impl<DF, CurF, D, P, E, R> Unpin for ChainFactory<DF, CurF, D, P, E, R>
impl<DF, CurF, D, P, E, R> UnsafeUnpin for ChainFactory<DF, CurF, D, P, E, R>
impl<DF, CurF, D, P, E, R> !UnwindSafe for ChainFactory<DF, CurF, D, P, E, R>
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