Enum symbolic_debuginfo::ObjectDebugSession [−][src]
pub enum ObjectDebugSession<'d> {
Breakpad(BreakpadDebugSession<'d>),
Dwarf(DwarfDebugSession<'d>),
Pdb(PdbDebugSession<'d>),
Pe(PeDebugSession<'d>),
SourceBundle(SourceBundleDebugSession<'d>),
}
Expand description
A generic debugging session.
Variants
Breakpad(BreakpadDebugSession<'d>)
Tuple Fields of Breakpad
0: BreakpadDebugSession<'d>
Dwarf(DwarfDebugSession<'d>)
Tuple Fields of Dwarf
0: DwarfDebugSession<'d>
Pdb(PdbDebugSession<'d>)
Tuple Fields of Pdb
0: PdbDebugSession<'d>
Pe(PeDebugSession<'d>)
Tuple Fields of Pe
0: PeDebugSession<'d>
SourceBundle(SourceBundleDebugSession<'d>)
Tuple Fields of SourceBundle
0: SourceBundleDebugSession<'d>
Implementations
pub fn functions(&self) -> ObjectFunctionIterator<'_>ⓘNotable traits for ObjectFunctionIterator<'s>impl<'s> Iterator for ObjectFunctionIterator<'s> type Item = Result<Function<'s>, ObjectError>;
pub fn functions(&self) -> ObjectFunctionIterator<'_>ⓘNotable traits for ObjectFunctionIterator<'s>impl<'s> Iterator for ObjectFunctionIterator<'s> type Item = Result<Function<'s>, ObjectError>;
impl<'s> Iterator for ObjectFunctionIterator<'s> type Item = Result<Function<'s>, ObjectError>;
Returns an iterator over all functions in this debug file.
Functions are iterated in the order they are declared in their compilation units. The functions yielded by this iterator include all inlinees and line records resolved.
Note that the iterator holds a mutable borrow on the debug session, which allows it to use caches and optimize resources while resolving function and line information.
pub fn files(&self) -> ObjectFileIterator<'_>ⓘNotable traits for ObjectFileIterator<'s>impl<'s> Iterator for ObjectFileIterator<'s> type Item = Result<FileEntry<'s>, ObjectError>;
pub fn files(&self) -> ObjectFileIterator<'_>ⓘNotable traits for ObjectFileIterator<'s>impl<'s> Iterator for ObjectFileIterator<'s> type Item = Result<FileEntry<'s>, ObjectError>;
impl<'s> Iterator for ObjectFileIterator<'s> type Item = Result<FileEntry<'s>, ObjectError>;
Returns an iterator over all source files referenced by this debug file.
Looks up a file’s source contents by its full canonicalized path.
The given path must be canonicalized.
Trait Implementations
type Error = ObjectError
type Error = ObjectError
The error returned when reading debug information fails.
type FunctionIterator = ObjectFunctionIterator<'session>
type FunctionIterator = ObjectFunctionIterator<'session>
An iterator over all functions in this debug file.
type FileIterator = ObjectFileIterator<'session>
type FileIterator = ObjectFileIterator<'session>
An iterator over all source files referenced by this debug file.
Returns an iterator over all functions in this debug file. Read more
Returns an iterator over all source files referenced by this debug file.
Auto Trait Implementations
impl<'d> !RefUnwindSafe for ObjectDebugSession<'d>
impl<'d> !Send for ObjectDebugSession<'d>
impl<'d> !Sync for ObjectDebugSession<'d>
impl<'d> Unpin for ObjectDebugSession<'d>
impl<'d> !UnwindSafe for ObjectDebugSession<'d>
Blanket Implementations
Mutably borrows from an owned value. Read more
Given the context attached to a nom error, and given the original input to the nom parser, extract more the useful context information. Read more
Given the original input, as well as the context reported by nom, recreate a context in the original string where the error occurred. Read more