pub struct SymCache<'a> { /* private fields */ }
Expand description

An abstraction around a symbolication cache file.

Implementations

Load a symcache from a byteview.

Constructs a symcache from an object.

The total size of the cache file

Returns a pointer to the internal bytes of the cache file

Writes the symcache into a new writer.

The architecture of the symbol file.

The id of the cache file.

The source of the SymCache.

Returns true if line information is included.

Returns true if file information is included.

The version of the cache file.

Returns an iterator over all functions.

Given an address this looks up the symbol at that point.

Because of inling information this returns a vector of zero or more symbols. If nothing is found then the return value will be an empty vector.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.