Expand description
Type-erased attachment data structures.
This module implements type erasure for error report attachments through
vtable-based dispatch. The design allows attachments of any type A to be
stored uniformly while maintaining the ability to format and inspect them.
ยงStructure
data: ContainsAttachmentData<A>, the#[repr(C)]wrapper that pairs an attachment value with its vtableraw: ContainsRawAttachmentandRawAttachmentRef, the type-erased pointer types that users of this module interact withvtable: ContainsAttachmentVtable, the function pointer table for type-erased operations
Re-exportsยง
pub use self::raw::RawAttachment;pub use self::raw::RawAttachmentRef;