useheim_common::prelude::Result;usecrate::sys;/// Returns an amount of logical CPUs.
pub async fnlogical_count()->Result<u64>{sys::logical_count().await
}/// Returns an amount of physical CPUs.
////// ## Returns
////// If the amount can't be determined, `Ok(None)` will be returned.
pub async fnphysical_count()->Result<Option<u64>>{sys::physical_count().await
}