Skip to main content

detsys_ids_client/system_snapshot/
generic.rs

1use crate::system_snapshot::{SystemSnapshot, SystemSnapshotter};
2
3#[derive(Default)]
4pub struct Generic {}
5
6impl SystemSnapshotter for Generic {
7    #[cfg_attr(feature = "tracing-instrument", tracing::instrument(skip(self)))]
8    async fn snapshot(&self) -> SystemSnapshot {
9        SystemSnapshot::default()
10    }
11}