pub enum Symbol<'a> {
Frame {
addr: *mut c_void,
location: Option<Location<'a>>,
name: Option<&'a [u8]>,
},
Symtab {
name: &'a [u8],
},
}
Variants§
Frame
We were able to locate frame information for this symbol, and
addr2line
’s frame internally has all the nitty gritty details.
Symtab
Couldn’t find debug information, but we found it in the symbol table of the elf executable.
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Symbol<'a>
impl<'a> RefUnwindSafe for Symbol<'a>
impl<'a> !Send for Symbol<'a>
impl<'a> !Sync for Symbol<'a>
impl<'a> Unpin for Symbol<'a>
impl<'a> UnwindSafe for Symbol<'a>
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