Skip to main content

extract_stream_item

Function extract_stream_item 

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

Check if a type is impl Stream<Item=T> and extract T