Skip to main content

stream_item_type

Function stream_item_type 

Source
pub fn stream_item_type(ty: &Type) -> Option<&Type>
Expand description

If ty is fidius::Stream<T> (final path segment Stream, exactly one type argument), return T. The server-streaming marker (FIDIUS-I-0026, D4). Public so the macro’s WASM adapter shares the same detection.