Write Rust code to generate a prime number stream