Skip to main content

RequestDecoderArc

Type Alias RequestDecoderArc 

Source
pub type RequestDecoderArc<A> = Arc<dyn RequestDecoder<Event = <A as Application>::Event>>;
Expand description

Decoder type alias: request decoder bound to the application’s Event type. Mirrors crate::response::ResponseEncoderArc; hides the dyn RequestDecoder<Event = …> spelling at call sites that thread the decoder through several functions.

Aliased Type§

pub struct RequestDecoderArc<A> { /* private fields */ }