pub struct ReportGenerator { /* private fields */ }Expand description
Report generator
Implementations§
Source§impl ReportGenerator
impl ReportGenerator
pub fn new() -> Self
pub async fn add_template( &self, name: impl Into<String>, template: impl Into<String>, )
pub async fn generate_report( &self, config: &ReportConfig, data: &SystemOverview, ) -> RragResult<Vec<u8>>
Auto Trait Implementations§
impl Freeze for ReportGenerator
impl !RefUnwindSafe for ReportGenerator
impl Send for ReportGenerator
impl Sync for ReportGenerator
impl Unpin for ReportGenerator
impl !UnwindSafe for ReportGenerator
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