#[allow(dead_code)]
fn assert_send_sync<T: Send + Sync>() {}
#[test]
fn snapshot_types_are_send_and_sync() {
#[cfg(feature = "component")]
{
assert_send_sync::<sinf::component::Component>();
assert_send_sync::<sinf::component::Components>();
}
#[cfg(feature = "disk")]
{
assert_send_sync::<sinf::disk::Disk>();
assert_send_sync::<sinf::disk::Disks>();
}
#[cfg(feature = "gpu")]
{
assert_send_sync::<sinf::gpu::Gpu>();
assert_send_sync::<sinf::gpu::Gpus>();
}
#[cfg(feature = "hardware")]
{
assert_send_sync::<sinf::hardware::Hardware>();
}
#[cfg(feature = "network")]
{
assert_send_sync::<sinf::network::NetworkData>();
assert_send_sync::<sinf::network::Networks>();
}
#[cfg(feature = "system")]
{
assert_send_sync::<sinf::system::Cpu>();
assert_send_sync::<sinf::system::Process>();
assert_send_sync::<sinf::system::System>();
}
#[cfg(feature = "user")]
{
assert_send_sync::<sinf::user::Group>();
assert_send_sync::<sinf::user::User>();
assert_send_sync::<sinf::user::Users>();
}
}