Struct gdb_command::Stacktrace
source · [−]pub struct Stacktrace {
pub strace: Vec<StacktraceEntry>,
}
Expand description
Struct represents the information about stack trace
Fields
strace: Vec<StacktraceEntry>
Vector of stack trace
Implementations
sourceimpl Stacktrace
impl Stacktrace
sourcepub fn from_gdb(trace: &str) -> Result<Stacktrace>
pub fn from_gdb(trace: &str) -> Result<Stacktrace>
Method gets the stacktrace as a string and converts it into vector of ‘StacktraceEntry’ structs
Arguments
- ‘trace’ - stacktrace from gdb
Return value
The return value is a vector of ‘StacktraceEntry’ structs
sourcepub fn update_modules(&mut self, mappings: &MappedFiles)
pub fn update_modules(&mut self, mappings: &MappedFiles)
Method updates information about function modules.
Arguments
- ‘mappings’ - information about mapped files
Trait Implementations
sourceimpl Clone for Stacktrace
impl Clone for Stacktrace
sourcefn clone(&self) -> Stacktrace
fn clone(&self) -> Stacktrace
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Stacktrace
impl Debug for Stacktrace
sourceimpl Display for Stacktrace
impl Display for Stacktrace
sourceimpl Hash for Stacktrace
impl Hash for Stacktrace
sourceimpl PartialEq<Stacktrace> for Stacktrace
impl PartialEq<Stacktrace> for Stacktrace
sourcefn eq(&self, other: &Stacktrace) -> bool
fn eq(&self, other: &Stacktrace) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Stacktrace) -> bool
fn ne(&self, other: &Stacktrace) -> bool
This method tests for !=
.
impl Eq for Stacktrace
impl StructuralEq for Stacktrace
impl StructuralPartialEq for Stacktrace
Auto Trait Implementations
impl RefUnwindSafe for Stacktrace
impl Send for Stacktrace
impl Sync for Stacktrace
impl Unpin for Stacktrace
impl UnwindSafe for Stacktrace
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more