pub struct CsvFormatter;Expand description
CSV formatter
Trait Implementations§
Source§impl DataFormatter for CsvFormatter
impl DataFormatter for CsvFormatter
fn format_metrics<'life0, 'life1, 'async_trait>(
&'life0 self,
metrics: &'life1 [Metric],
) -> Pin<Box<dyn Future<Output = RragResult<Vec<u8>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn format_health_report<'life0, 'life1, 'async_trait>(
&'life0 self,
report: &'life1 HealthReport,
) -> Pin<Box<dyn Future<Output = RragResult<Vec<u8>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn format_performance_report<'life0, 'life1, 'async_trait>(
&'life0 self,
report: &'life1 PerformanceReport,
) -> Pin<Box<dyn Future<Output = RragResult<Vec<u8>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn format_system_overview<'life0, 'life1, 'async_trait>(
&'life0 self,
overview: &'life1 SystemOverview,
) -> Pin<Box<dyn Future<Output = RragResult<Vec<u8>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn content_type(&self) -> &'static str
fn file_extension(&self) -> &'static str
Auto Trait Implementations§
impl Freeze for CsvFormatter
impl RefUnwindSafe for CsvFormatter
impl Send for CsvFormatter
impl Sync for CsvFormatter
impl Unpin for CsvFormatter
impl UnwindSafe for CsvFormatter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more