Enum

std::process::Polled!

source
exposed enum Polled! {
    Running(Child!),
    Ended(Exit),
}

What Child!::try_wait found: the child still running, or how it ended.