Struct anchor_chain::chain::ChainBuilder  
source · pub struct ChainBuilder {}Expand description
A builder for constructing a Chain of nodes.
ChainBuilder allows for incremental construction of a processing chain, adding
node one at a time. This approach facilitates clear and concise assembly
of complex processing logic.
Implementations§
source§impl ChainBuilder
 
impl ChainBuilder
sourcepub fn link<I, N>(self, node: N) -> LinkedChainBuilder<I, N>
 
pub fn link<I, N>(self, node: N) -> LinkedChainBuilder<I, N>
Adds the first node to the chain.
pub fn link_with_state<I, N, K, V>( self, node: N ) -> StatefulLinkedChainBuilder<I, N, K, V>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChainBuilder
impl RefUnwindSafe for ChainBuilder
impl Send for ChainBuilder
impl Sync for ChainBuilder
impl Unpin for ChainBuilder
impl UnwindSafe for ChainBuilder
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