Struct symbolic_debuginfo::pdb::PdbDebugSession [−][src]
Debug session for PDB objects.
Implementations
impl<'d> PdbDebugSession<'d>
[src]
pub fn files(&self) -> PdbFileIterator<'_>ⓘNotable traits for PdbFileIterator<'s>
impl<'s> Iterator for PdbFileIterator<'s> type Item = Result<FileEntry<'s>, PdbError>;
[src]
Notable traits for PdbFileIterator<'s>
impl<'s> Iterator for PdbFileIterator<'s> type Item = Result<FileEntry<'s>, PdbError>;
Returns an iterator over all source files in this debug file.
pub fn functions(&self) -> PdbFunctionIterator<'_>ⓘNotable traits for PdbFunctionIterator<'s>
impl<'s> Iterator for PdbFunctionIterator<'s> type Item = Result<Function<'s>, PdbError>;
[src]
Notable traits for PdbFunctionIterator<'s>
impl<'s> Iterator for PdbFunctionIterator<'s> type Item = Result<Function<'s>, PdbError>;
Returns an iterator over all functions in this debug file.
pub fn source_by_path(
&self,
_path: &str
) -> Result<Option<Cow<'_, str>>, PdbError>
[src]
&self,
_path: &str
) -> Result<Option<Cow<'_, str>>, PdbError>
Looks up a file’s source contents by its full canonicalized path.
The given path must be canonicalized.
Trait Implementations
impl<'session> DebugSession<'session> for PdbDebugSession<'_>
[src]
type Error = PdbError
The error returned when reading debug information fails.
type FunctionIterator = PdbFunctionIterator<'session>
An iterator over all functions in this debug file.
type FileIterator = PdbFileIterator<'session>
An iterator over all source files referenced by this debug file.
fn functions(&'session self) -> Self::FunctionIterator
[src]
fn files(&'session self) -> Self::FileIterator
[src]
fn source_by_path(
&self,
path: &str
) -> Result<Option<Cow<'_, str>>, Self::Error>
[src]
&self,
path: &str
) -> Result<Option<Cow<'_, str>>, Self::Error>
Auto Trait Implementations
impl<'d> !RefUnwindSafe for PdbDebugSession<'d>
impl<'d> !Send for PdbDebugSession<'d>
impl<'d> !Sync for PdbDebugSession<'d>
impl<'d> Unpin for PdbDebugSession<'d>
impl<'d> !UnwindSafe for PdbDebugSession<'d>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,