pub struct Frame {
pub file: String,
pub line_number: u32,
pub column_number: Option<u32>,
pub method: Option<String>,
pub class: Option<String>,
pub is_application_frame: bool,
pub instruction_addr: Option<usize>,
}Expand description
One line of a stack trace.
Fields§
§file: StringThe source file, like /app/src/orders.rs.
line_number: u32The line in the source file.
column_number: Option<u32>The column in the source file, when known.
method: Option<String>The function, like create.
class: Option<String>The module or type the function belongs to, like my_app::orders::OrderService.
is_application_frame: boolWhether the frame is part of your application, not of a dependency or the standard library.
instruction_addr: Option<usize>The address in memory that this frame returns to. Flare uses it to find the
function, file and line in an uploaded debug file, so an app can ship a
stripped binary. It is None when Flare must keep the frame as it is.
Implementations§
Trait Implementations§
impl Eq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Forget for Frame
impl Freeze for Frame
impl Move for Frame
impl RefUnwindSafe for Frame
impl Send for Framewhere
RawVecInner: Send,
impl Sync for Framewhere
RawVecInner: Sync,
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Framewhere
RawVecInner: UnwindSafe,
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