1 2 3 4 5 6 7 8 9 10 11
use gps as ps; pub fn fetch(color: bool) { match ps::fetch(color) { Ok(_) => {} Err(e) => { eprintln!("Error: {:?}", e); std::process::exit(1); } }; }