tuwunel_core/log/capture/
guard.rs1use std::sync::Arc;
2
3use super::Capture;
4
5#[clippy::has_significant_drop]
7pub struct Guard {
8 pub(super) capture: Arc<Capture>,
9}
10
11impl Drop for Guard {
12 #[inline]
13 fn drop(&mut self) { self.capture.stop(); }
14}