useheim_common::prelude::{Future,Result};usecrate::sys;/// Returns future which will resolve into a amount of logical CPUs.
pubfnlogical_count()-> impl Future<Output = Result<u64>>{sys::logical_count()}/// Returns future which will resolve into a amount of physical CPUs.
////// Returned future might resolve into `Ok(None)` if the amount can't be determined.
pubfnphysical_count()-> impl Future<Output = Result<Option<u64>>>{sys::physical_count()}