lhm-client-0.4.0 has been yanked.
LHM Client
Client that can consume the LHM Service from user-land
use ;
let mut client = connect.await.unwrap;
client
.set_options
.await
.unwrap;
client.update.await.unwrap;
let hardware = client.get_hardware.await.unwrap;
let cpus: = hardware
.iter
.filter
.collect;
let cpu_temps = cpus
.iter
.flat_map
.;
let temp = cpu_temps
.iter
.find;
let temp = temp.map.expect;
println!;