pub trait StacktraceExt {
// Required methods
fn from_gdb<T: AsRef<str>>(trace: T) -> Result<Stacktrace>;
fn compute_module_offsets(&mut self, mappings: &MappedFiles);
fn strip_prefix<T: AsRef<str>>(&mut self, prefix: T);
}
Required Methods§
Sourcefn compute_module_offsets(&mut self, mappings: &MappedFiles)
fn compute_module_offsets(&mut self, mappings: &MappedFiles)
Compute module offsets for stack trace entries based on mapped files. Gdb doesn’t print module and offset in stack trace.
§Arguments
- ‘mappings’ - information about mapped files
Sourcefn strip_prefix<T: AsRef<str>>(&mut self, prefix: T)
fn strip_prefix<T: AsRef<str>>(&mut self, prefix: T)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.