pub struct EnhancedJsonExporter { /* private fields */ }
Expand description
Enhanced JSON exporter that creates improve.md compliant output
Implementations§
Source§impl EnhancedJsonExporter
impl EnhancedJsonExporter
Sourcepub fn new(config: ExportConfig) -> Self
pub fn new(config: ExportConfig) -> Self
Create new enhanced JSON exporter
Sourcepub fn export_enhanced_analysis<P: AsRef<Path>>(
&self,
output_dir: P,
memory_stats: &MemoryStats,
unsafe_reports: &[UnsafeReport],
memory_passports: &[MemoryPassport],
) -> TrackingResult<()>
pub fn export_enhanced_analysis<P: AsRef<Path>>( &self, output_dir: P, memory_stats: &MemoryStats, unsafe_reports: &[UnsafeReport], memory_passports: &[MemoryPassport], ) -> TrackingResult<()>
Export memory analysis data to improve.md compliant JSON files
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EnhancedJsonExporter
impl RefUnwindSafe for EnhancedJsonExporter
impl Send for EnhancedJsonExporter
impl Sync for EnhancedJsonExporter
impl Unpin for EnhancedJsonExporter
impl UnwindSafe for EnhancedJsonExporter
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more