pub struct FrameCursor<'a> { /* private fields */ }Expand description
Frame cursor that walks the stack frame by frame.
Implementations§
Source§impl<'a> FrameCursor<'a>
impl<'a> FrameCursor<'a>
Sourcepub fn new(
reader: &'a dyn MemoryReader,
regs: RegisterContext,
images: &'a mut [BinaryImageInfo],
is_64_bit: bool,
) -> Self
pub fn new( reader: &'a dyn MemoryReader, regs: RegisterContext, images: &'a mut [BinaryImageInfo], is_64_bit: bool, ) -> Self
Creates a new frame cursor.
Sourcepub fn registers(&self) -> &RegisterContext
pub fn registers(&self) -> &RegisterContext
Returns the current register context.
Sourcepub fn step(&mut self) -> Result<bool, UnwindError>
pub fn step(&mut self) -> Result<bool, UnwindError>
Steps one frame. Returns Ok(true) if a frame was found,
Ok(false) if at the bottom of the stack.
Auto Trait Implementations§
impl<'a> Freeze for FrameCursor<'a>
impl<'a> !RefUnwindSafe for FrameCursor<'a>
impl<'a> !Send for FrameCursor<'a>
impl<'a> !Sync for FrameCursor<'a>
impl<'a> Unpin for FrameCursor<'a>
impl<'a> UnsafeUnpin for FrameCursor<'a>
impl<'a> !UnwindSafe for FrameCursor<'a>
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