async_utils::stream

Type Alias IndexedStreams

Source
pub type IndexedStreams<K, St> = StreamMap<K, StreamWithEpitaph<Tagged<K, St>, K>>;
Expand description

Convenient alias for a collection of Streams indexed by key where each message is tagged and stream termination is notified by key. This is especially useful for maintaining a collection of fidl client request streams, and being notified when each terminates

Aliased Typeยง

struct IndexedStreams<K, St> { /* private fields */ }