Module report

Module report 

Source
Expand description

Module containing the main attachment report data structure

Re-exportsยง

pub use raw::RawReport;
pub use raw::RawReportMut;
pub use raw::RawReportRef;

Modulesยง

data ๐Ÿ”’
This module encapsulates the fields of the ReportData. Since this is the only place they are visible, this means that the type of the ReportVtable is guaranteed to always be in sync with the type of the actual context. This follows from the fact that they are in sync when created and that the API offers no way to change the ReportVtable or context type after creation.
raw ๐Ÿ”’
This module encapsulates the fields of the RawReport, RawReportRef, and RawReportMut. Since this is the only place they are visible, this means that the ptr field of all three types is always guaranteed to come from a triomphe::Arc<ReportData<C>>. This follows from the fact that there are no places where the ptr field is altered after creation (besides invalidating it after it should no longer be used).
vtable ๐Ÿ”’