pub struct StackInfo<'a> { /* private fields */ }
Implementations
sourceimpl<'a> StackInfo<'a>
impl<'a> StackInfo<'a>
sourcepub fn line(&self) -> Option<Line>
pub fn line(&self) -> Option<Line>
Returns the line which create the current instruction of this frame
sourcepub fn source_name(&self) -> &str
pub fn source_name(&self) -> &str
Returns the name of the source which defined the funtion executing at this frame
sourcepub fn function_name(&self) -> Option<&str>
pub fn function_name(&self) -> Option<&str>
Returns the name of the function executing at this frame
Auto Trait Implementations
impl<'a> !RefUnwindSafe for StackInfo<'a>
impl<'a> Send for StackInfo<'a>
impl<'a> Sync for StackInfo<'a>
impl<'a> Unpin for StackInfo<'a>
impl<'a> !UnwindSafe for StackInfo<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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