Function streaming_iterator::empty
source · pub fn empty<T>() -> Empty<T>
Expand description
Creates an empty iterator.
let mut streaming_iter = streaming_iterator::empty::<i32>();
assert_eq!(streaming_iter.next(), None);
pub fn empty<T>() -> Empty<T>
Creates an empty iterator.
let mut streaming_iter = streaming_iterator::empty::<i32>();
assert_eq!(streaming_iter.next(), None);