debug

Function debug 

Source
unsafe fn debug<A: 'static, H: AttachmentHandler<A>>(
    ptr: RawAttachmentRef<'_>,
    formatter: &mut Formatter<'_>,
) -> Result
Expand description

Formats an attachment using its handler’s debug implementation.

§Safety

The caller must ensure that the type A matches the actual attachment type stored in the AttachmentData.