Skip to main content

from_slice

Function from_slice 

Source
pub fn from_slice<T: Send + 'static>(
    items: Vec<T>,
) -> impl Stream<Item = T> + Send + 'static
Expand description

Create a stream from a Vec<T>.