(&self, t: DisplayFormatType, f: &mut fmt::Formatter<'_>)
| 751 | |
| 752 | impl DisplayAs for CsvSink { |
| 753 | fn fmt_as(&self, t: DisplayFormatType, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 754 | match t { |
| 755 | DisplayFormatType::Default | DisplayFormatType::Verbose => { |
| 756 | write!(f, "CsvSink(file_groups=",)?; |
| 757 | FileGroupDisplay(&self.config.file_group).fmt_as(t, f)?; |
| 758 | write!(f, ")") |
| 759 | } |
| 760 | DisplayFormatType::TreeRender => { |
| 761 | writeln!(f, "format: csv")?; |
| 762 | write!(f, "file={}", &self.config.original_url) |
| 763 | } |
| 764 | } |
| 765 | } |
| 766 | } |
| 767 | |
| 768 | impl CsvSink { |
nothing calls this directly
no test coverage detected