An abstraction over the windows tlhelp32 api. It offers a generic Snapshot struct which acts as an iterator to easily iterate over the returned entries.
rust
fn main() {
for entry in tlhelp32::Snapshot::new_process()? {
println!("{:?}", entry);
}
}