Type Alias DataUnary

Source
pub type DataUnary<T> = Pin<Box<dyn Future<Output = T> + Send + Sync>>;
Expand description

DataStream is a type alias for a stream of Data items. This can be adapted to a ResponseStream by associating it with a AsyncEngineContext.

Aliased Typeยง

pub struct DataUnary<T> { /* private fields */ }