Trait AllocationPolicy

Source
pub trait AllocationPolicy {
    type GimliUnwindContextStorage<R: ReaderOffset>: UnwindContextStorage<R>;
    type GimliEvaluationStorage<R: Reader>: EvaluationStorage<R>;
}
Expand description

A trait which lets you opt into allocation-free unwinding. The two implementations of this trait are MustNotAllocateDuringUnwind and MayAllocateDuringUnwind.

Required Associated Types§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§