Trait framehop::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§
type GimliUnwindContextStorage<R: ReaderOffset>: UnwindContextStorage<R>
type GimliEvaluationStorage<R: Reader>: EvaluationStorage<R>
Object Safety§
This trait is not object safe.