Skip to main content

IngressRequestDecoder

Trait IngressRequestDecoder 

Source
pub trait IngressRequestDecoder<T>:
    Send
    + Sync
    + 'static
where T: Data,
{ // Required method fn decode_request( &self, payload_codec: RequestPlanePayloadCodec, bytes: Bytes, ) -> impl Future<Output = Result<T, PipelineError>> + Send; }
Expand description

Converts request-plane bytes into the item consumed by an ingress engine.

Required Methods§

Source

fn decode_request( &self, payload_codec: RequestPlanePayloadCodec, bytes: Bytes, ) -> impl Future<Output = Result<T, PipelineError>> + Send

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§