Struct mini_functions::errors::stacktrace::StackTrace
source · pub struct StackTrace {
pub pc: Vec<usize>,
pub cause_stack_trace: Option<Box<StackTrace>>,
}
Expand description
The program counter of the stack trace.
Fields§
§pc: Vec<usize>
The program counter of the stack trace.
cause_stack_trace: Option<Box<StackTrace>>
The cause stack trace of the stack trace.
Implementations§
source§impl StackTrace
impl StackTrace
sourcepub fn format_stack_trace(stack_trace: Vec<String>) -> String
pub fn format_stack_trace(stack_trace: Vec<String>) -> String
Formats the stack trace.
sourcepub fn new() -> StackTrace
pub fn new() -> StackTrace
Creates a new stack trace.
Trait Implementations§
source§impl Clone for StackTrace
impl Clone for StackTrace
source§fn clone(&self) -> StackTrace
fn clone(&self) -> StackTrace
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StackTrace
impl Debug for StackTrace
source§impl Default for StackTrace
impl Default for StackTrace
source§fn default() -> StackTrace
fn default() -> StackTrace
Returns the “default value” for a type. Read more
source§impl Display for StackTrace
impl Display for StackTrace
source§impl Hash for StackTrace
impl Hash for StackTrace
source§impl Ord for StackTrace
impl Ord for StackTrace
source§fn cmp(&self, other: &StackTrace) -> Ordering
fn cmp(&self, other: &StackTrace) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for StackTrace
impl PartialEq for StackTrace
source§fn 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 ==
.source§impl PartialOrd for StackTrace
impl PartialOrd for StackTrace
source§fn partial_cmp(&self, other: &StackTrace) -> Option<Ordering>
fn partial_cmp(&self, other: &StackTrace) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl 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§
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
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.