Skip to main content

StateDecoder

Type Alias StateDecoder 

Source
pub type StateDecoder = Arc<dyn Fn(&[u8]) -> Result<StreamStateKind> + Send + Sync>;
Expand description

Decoder that reconstructs a concrete streaming state from its serialized bytes, used by the HTTP transport on continuation requests.

Aliased Typeยง

pub struct StateDecoder { /* private fields */ }