Lines Matching refs:coll
21 let coll: Vec<u32> = stream::empty().collect().await; in empty_vec() localVariable
22 assert!(coll.is_empty()); in empty_vec()
27 let coll: Box<[u32]> = stream::empty().collect().await; in empty_box_slice() localVariable
28 assert!(coll.is_empty()); in empty_box_slice()
33 let coll: String = stream::empty::<&str>().collect().await; in empty_string() localVariable
34 assert!(coll.is_empty()); in empty_string()
39 let coll: Result<Vec<u32>, &str> = stream::empty().collect().await; in empty_result() localVariable
40 assert_eq!(Ok(vec![]), coll); in empty_result()
60 let coll = assert_ready!(fut.poll()); in collect_vec_items() localVariable
61 assert_eq!(vec![1, 2], coll); in collect_vec_items()
82 let coll = assert_ready!(fut.poll()); in collect_string_items() localVariable
83 assert_eq!("hello world", coll); in collect_string_items()
104 let coll = assert_ready!(fut.poll()); in collect_str_items() localVariable
105 assert_eq!("hello world", coll); in collect_str_items()
126 let coll = assert_ready_ok!(fut.poll()); in collect_results_ok() localVariable
127 assert_eq!("hello world", coll); in collect_results_ok()