[−][src]Struct libunwind_rs::Cursor
Methods
impl Cursor
[src]
pub fn coredump(
address_space: &mut AddressSpace,
state: &CoredumpState
) -> Result<Cursor, Error>
[src]
address_space: &mut AddressSpace,
state: &CoredumpState
) -> Result<Cursor, Error>
Method constructs cursor for coredump unwinding.
Arguments
-
address_space
- configured AddressSpace -
state
- Configured CoredumpState
pub fn local<F, T>(f: F) -> Result<T, Error> where
F: FnOnce(Cursor) -> Result<T, Error>,
[src]
F: FnOnce(Cursor) -> Result<T, Error>,
pub fn step(&mut self) -> Result<bool, Error>
[src]
Method executes step on cursor.
Return
-
true
- if step is executed -
false
- if cursor ends -
Error
- if error while steping is occured
pub fn register(&mut self, id: i32) -> Result<usize, Error>
[src]
pub fn ip(&mut self) -> Result<usize, Error>
[src]
Method returns instructions pointer value
pub fn sp(&mut self) -> Result<usize, Error>
[src]
Method returns stack pointer value
pub fn proc_info(&mut self) -> Result<ProcInfo, Error>
[src]
Method returns procedure information at crurrent stack frame
pub fn proc_name(&mut self) -> Result<String, Error>
[src]
Method returns procedure information at crurrent stack frame
pub fn is_signal_frame(&mut self) -> Result<bool, Error>
[src]
Method returns true if frame is signal frame
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Cursor
impl Send for Cursor
impl Sync for Cursor
impl Unpin for Cursor
impl UnwindSafe for Cursor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,