pub struct UnwindHost;Expand description
If we have the above host-specific implementations, we can
implement Unwind.
Trait Implementations§
Source§impl Unwind for UnwindHost
impl Unwind for UnwindHost
Source§fn next_older_fp_from_fp_offset(&self) -> usize
fn next_older_fp_from_fp_offset(&self) -> usize
Returns the offset, from the current frame pointer, of where to get to
the previous frame pointer on the stack.
Source§fn next_older_sp_from_fp_offset(&self) -> usize
fn next_older_sp_from_fp_offset(&self) -> usize
Returns the offset, from the current frame pointer, of the
stack pointer of the next older frame.
Source§unsafe fn get_next_older_pc_from_fp(&self, fp: usize) -> usize
unsafe fn get_next_older_pc_from_fp(&self, fp: usize) -> usize
Load the return address of a frame given the frame pointer for that
frame. Read more
Source§fn assert_fp_is_aligned(&self, fp: usize)
fn assert_fp_is_aligned(&self, fp: usize)
Debug assertion that the frame pointer is aligned.
Auto Trait Implementations§
impl Freeze for UnwindHost
impl RefUnwindSafe for UnwindHost
impl Send for UnwindHost
impl Sync for UnwindHost
impl Unpin for UnwindHost
impl UnwindSafe for UnwindHost
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