pub struct SymbolMap<H: FileAndPathHelper> { /* private fields */ }Implementations§
Source§impl<H: FileAndPathHelper> SymbolMap<H>
impl<H: FileAndPathHelper> SymbolMap<H>
pub fn with_symbol_map_trait( debug_file_location: H::FL, inner: Arc<dyn SymbolMapTrait + Send + Sync>, ) -> Self
pub fn debug_file_location(&self) -> &H::FL
pub fn debug_id(&self) -> DebugId
pub fn symbol_count(&self) -> usize
pub fn iter_symbols(&self) -> Box<dyn Iterator<Item = (u32, Cow<'_, str>)> + '_>
pub fn lookup_sync(&self, address: LookupAddress) -> Option<SyncAddressInfo>
pub async fn lookup(&self, address: LookupAddress) -> Option<AddressInfo>
Sourcepub async fn lookup_external(
&self,
external: &ExternalFileAddressRef,
) -> Option<Vec<FrameDebugInfo>>
pub async fn lookup_external( &self, external: &ExternalFileAddressRef, ) -> Option<Vec<FrameDebugInfo>>
Resolve a debug info lookup for which SymbolMap::lookup_* returned a
FramesLookupResult::External.
This method is asynchronous because it may load a new external file.
This keeps the most recent external file cached, so that repeated lookups for the same external file are fast.
Auto Trait Implementations§
impl<H> Freeze for SymbolMap<H>
impl<H> !RefUnwindSafe for SymbolMap<H>
impl<H> Send for SymbolMap<H>
impl<H> Sync for SymbolMap<H>
impl<H> Unpin for SymbolMap<H>
impl<H> !UnwindSafe for SymbolMap<H>
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