pub type BoxProcessor = BoxCloneService<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.
Aliased Type§
pub struct BoxProcessor(/* private fields */);Trait Implementations§
Source§impl BoxProcessorExt for BoxProcessor
impl BoxProcessorExt for BoxProcessor
Source§fn from_fn<F, Fut>(f: F) -> BoxProcessor
fn from_fn<F, Fut>(f: F) -> BoxProcessor
Create a
BoxProcessor from an async closure. Read moreSource§impl RetryableStep for BoxProcessor
BoxProcessor adapter: preserves readiness-error routing by calling
ServiceExt::ready().await before Service::call(). Readiness
failures (e.g. channel closed, circuit breaker open) become
PipelineOutcome::Failed, NOT panic or silent skip.
impl RetryableStep for BoxProcessor
BoxProcessor adapter: preserves readiness-error routing by calling
ServiceExt::ready().await before Service::call(). Readiness
failures (e.g. channel closed, circuit breaker open) become
PipelineOutcome::Failed, NOT panic or silent skip.