Struct framehop::MustNotAllocateDuringUnwind
source · pub struct MustNotAllocateDuringUnwind;
Expand description
Require allocation-free unwinding. This is one of the two AllocationPolicy
implementations.
Using this means that the unwinder cache takes up more memory, because it preallocates space for DWARF CFI unwind table row evaluation and for DWARF CFI expression evaluation. And because those preallocations are of a fixed size, it is possible that this fixed size is not large enough for certain DWARF unwinding tasks.
Trait Implementations§
source§impl AllocationPolicy for MustNotAllocateDuringUnwind
impl AllocationPolicy for MustNotAllocateDuringUnwind
type GimliUnwindContextStorage<R: ReaderOffset> = StoreOnStack
type GimliEvaluationStorage<R: Reader> = StoreOnStack
Auto Trait Implementations§
impl RefUnwindSafe for MustNotAllocateDuringUnwind
impl Send for MustNotAllocateDuringUnwind
impl Sync for MustNotAllocateDuringUnwind
impl Unpin for MustNotAllocateDuringUnwind
impl UnwindSafe for MustNotAllocateDuringUnwind
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more