Add a warning.
(mut self, warning: impl Into<String>)
| 285 | |
| 286 | /// Add a warning. |
| 287 | pub fn with_warning(mut self, warning: impl Into<String>) -> Self { |
| 288 | self.warnings.push(warning.into()); |
| 289 | self |
| 290 | } |
| 291 | |
| 292 | /// Set statistics. |
| 293 | pub fn with_stats(mut self, stats: UnrecordStats) -> Self { |