Skip to main content

BoxProcessor

Type Alias BoxProcessor 

Source
pub type BoxProcessor = BoxCloneSyncService<Exchange, Exchange, CamelError>;
Expand description

A type-erased, cloneable processor. This is the main runtime representation of a processor pipeline — a composed chain of Tower Services erased to a single boxed type.

The erased type is Send + Sync, so pipeline snapshots can be shared between threads directly. Cloning is a lock-free virtual clone_box() call on the inner trait object.

Aliased Type§

pub struct BoxProcessor(/* private fields */);