1 use async_stream::stream; 2 main()3 fn main() { 4 stream! { 5 Ok("value") 6 .and_then(|v| { 7 yield v; 8 Ok(()) 9 }); 10 }; 11 } 12