(&self, t: DisplayFormatType, f: &mut fmt::Formatter<'_>)
| 421 | |
| 422 | impl DisplayAs for JsonSink { |
| 423 | fn fmt_as(&self, t: DisplayFormatType, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 424 | match t { |
| 425 | DisplayFormatType::Default | DisplayFormatType::Verbose => { |
| 426 | write!(f, "JsonSink(file_groups=",)?; |
| 427 | FileGroupDisplay(&self.config.file_group).fmt_as(t, f)?; |
| 428 | write!(f, ")") |
| 429 | } |
| 430 | DisplayFormatType::TreeRender => { |
| 431 | writeln!(f, "format: json")?; |
| 432 | write!(f, "file={}", &self.config.original_url) |
| 433 | } |
| 434 | } |
| 435 | } |
| 436 | } |
| 437 | |
| 438 | impl JsonSink { |
nothing calls this directly
no test coverage detected