#[non_exhaustive]pub struct StackFrames {
pub frame: Vec<StackFrame>,
pub dropped_frames_count: i32,
/* private fields */
}Expand description
A collection of stack frames, which can be truncated.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.frame: Vec<StackFrame>Stack frames in this call stack.
dropped_frames_count: i32The number of stack frames that were dropped because there were too many stack frames. If this value is 0, then no stack frames were dropped.
Implementations§
Source§impl StackFrames
impl StackFrames
pub fn new() -> Self
Sourcepub fn set_dropped_frames_count<T: Into<i32>>(self, v: T) -> Self
pub fn set_dropped_frames_count<T: Into<i32>>(self, v: T) -> Self
Sets the value of dropped_frames_count.
Trait Implementations§
Source§impl Clone for StackFrames
impl Clone for StackFrames
Source§fn clone(&self) -> StackFrames
fn clone(&self) -> StackFrames
Returns a duplicate 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 StackFrames
impl Debug for StackFrames
Source§impl Default for StackFrames
impl Default for StackFrames
Source§fn default() -> StackFrames
fn default() -> StackFrames
Returns the “default value” for a type. Read more
Source§impl Message for StackFrames
impl Message for StackFrames
Source§impl PartialEq for StackFrames
impl PartialEq for StackFrames
impl StructuralPartialEq for StackFrames
Auto Trait Implementations§
impl Freeze for StackFrames
impl RefUnwindSafe for StackFrames
impl Send for StackFrames
impl Sync for StackFrames
impl Unpin for StackFrames
impl UnwindSafe for StackFrames
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