Crate rootcause_internals

Crate rootcause_internals 

Source
Expand description

Internal crate for the rootcause crate.

This crate contains the core data structures used by the rootcause crate, and encapsulates most of the unsafe operations needed to make it work.

This crate is considered an implementation detail of the rootcause crate, and as such no semantic versioning guarantees are made for this crate.

Modulesยง

attachment ๐Ÿ”’
Module containing the main attachment data structure
handlers
Handlers used to implement or override the behavior of core::error::Error, core::fmt::Display and core::fmt::Debug when creating an attachment or report.
report ๐Ÿ”’
Module containing the main attachment report data structure
util ๐Ÿ”’
Utility module

Structsยง

RawAttachment
A pointer to an AttachmentData that is guaranteed to point to an initialized instance of an AttachmentData<A> for some specific A, though we do not know which actual A it is.
RawAttachmentRef
A lifetime-bound pointer to an AttachmentData that is guaranteed to point to an initialized instance of an AttachmentData<A> for some specific A, though we do not know which actual A it is.
RawReport
A pointer to a ReportData that is guaranteed to point to an initialized instance of a ReportData<C> for some specific C, though we do not know which actual C it is.
RawReportMut
A mutable lifetime-bound pointer to a ReportData that is guaranteed to point to an initialized instance of a ReportData<C> for some specific C, though we do not know which actual C it is.
RawReportRef
A lifetime-bound pointer to a ReportData that is guaranteed to point to an initialized instance of a ReportData<C> for some specific C, though we do not know which actual C it is.