pub type VShardEnvelopeHandler = Arc<dyn Fn(Vec<u8>) -> Pin<Box<dyn Future<Output = Result<Vec<u8>>> + Send>> + Send + Sync>;Expand description
Type-erased async handler for incoming VShardEnvelope messages.
Receives raw envelope bytes, returns response bytes. Set by the main binary to dispatch to the appropriate engine handler (Event Plane, timeseries, etc.).
Aliased Type§
pub struct VShardEnvelopeHandler { /* private fields */ }