Skip to main content

ThreadLocalHandler

Trait ThreadLocalHandler 

Source
pub trait ThreadLocalHandler: Pipe<In = Request<Bytes>, Out = Response<Bytes>, Err = ProximaError> { }
Expand description

Per-thread sibling of Handler for runtimes that pin work to a single core (DPDK, per-core executors) and may hold Rc / RefCell state. Blanket-implemented over the no-Send root Pipe.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Implementor> ThreadLocalHandler for Implementor
where Implementor: Pipe<In = Request<Bytes>, Out = Response<Bytes>, Err = ProximaError>,