(&self)
| 278 | // Make it cloneable for Arc sharing |
| 279 | impl Clone for DefaultSecurityProvider { |
| 280 | fn clone(&self) -> Self { |
| 281 | Self { |
| 282 | config: self.config.clone(), |
| 283 | tainted_data: self.tainted_data.clone(), |
| 284 | patterns: self.patterns.clone(), |
| 285 | injection_patterns: self.injection_patterns.clone(), |
| 286 | } |
| 287 | } |
| 288 | } |
| 289 | |
| 290 | #[cfg(test)] |
no outgoing calls