pub fn which(binary: &str) -> bool
Walks $PATH in-process rather than shelling out to which(1), which the image does not carry.
$PATH
which(1)