pub trait Decoder: Send + Sync {
// Required method
fn decode_stream<'life0, 'async_trait>(
&'life0 self,
input: BoxStream<'static, Bytes>,
) -> Pin<Box<dyn Future<Output = PipeResult<BoxStream<'static, Value>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Decoder trait for stream decoding