[go: up one dir, main page]

sysinfo 0.30.3

Library to get system information such as processes, CPUs, disks, components and networks
Documentation
1
2
3
4
5
6
7
8
9
10
11
// Take a look at the license at the top of the repository in the LICENSE file.

#[test]
#[allow(clippy::extra_unused_type_parameters)]
fn test_send_sync() {
    fn is_send<T: Send>() {}
    fn is_sync<T: Sync>() {}

    is_send::<sysinfo::System>();
    is_sync::<sysinfo::System>();
}