(mut self, flag: Arc<AtomicBool>)
| 44 | /// When the flag is absent (the default), the layer always writes. |
| 45 | #[must_use] |
| 46 | pub fn with_enabled_flag(mut self, flag: Arc<AtomicBool>) -> Self { |
| 47 | self.enabled = Some(flag); |
| 48 | self |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | impl<S, W> Layer<S> for OcsfJsonlLayer<W> |