unsafe fn debug<A: 'static, H: AttachmentHandler<A>>(
ptr: RawAttachmentRef<'_>,
formatter: &mut Formatter<'_>,
) -> ResultExpand description
Formats an attachment using its handler’s debug implementation.
§Safety
The caller must ensure:
- The type
Amatches the actual attachment type stored in theAttachmentData