Struct symbolic::debuginfo::pe::PeDebugSession [−][src]
Debug session for PE objects.
Since debug information in PE containers is not supported, this session consists of NoOps and always returns empty results.
Implementations
impl<'data> PeDebugSession<'data>
[src]
pub fn functions(&self) -> Empty<Result<Function<'_>, PeError>>
[src]
Returns an iterator over all functions in this debug file.
pub fn files(&self) -> Empty<Result<FileEntry<'_>, PeError>>
[src]
Returns an iterator over all source files referenced by this debug file.
pub fn source_by_path(
&self,
_path: &str
) -> Result<Option<Cow<'_, str>>, PeError>
[src]
&self,
_path: &str
) -> Result<Option<Cow<'_, str>>, PeError>
Looks up a file’s source contents by its full canonicalized path.
The given path must be canonicalized.
Trait Implementations
impl<'data> Debug for PeDebugSession<'data>
[src]
impl<'session, '_> DebugSession<'session> for PeDebugSession<'_>
[src]
type Error = PeError
The error returned when reading debug information fails.
type FunctionIterator = Empty<Result<Function<'session>, PeError>>
An iterator over all functions in this debug file.
type FileIterator = Empty<Result<FileEntry<'session>, PeError>>
An iterator over all source files referenced by this debug file.
pub fn functions(
&'session self
) -> <PeDebugSession<'_> as DebugSession<'session>>::FunctionIterator
[src]
&'session self
) -> <PeDebugSession<'_> as DebugSession<'session>>::FunctionIterator
pub fn files(
&'session self
) -> <PeDebugSession<'_> as DebugSession<'session>>::FileIterator
[src]
&'session self
) -> <PeDebugSession<'_> as DebugSession<'session>>::FileIterator
pub fn source_by_path(
&self,
path: &str
) -> Result<Option<Cow<'_, str>>, <PeDebugSession<'_> as DebugSession<'session>>::Error>
[src]
&self,
path: &str
) -> Result<Option<Cow<'_, str>>, <PeDebugSession<'_> as DebugSession<'session>>::Error>
Auto Trait Implementations
impl<'data> RefUnwindSafe for PeDebugSession<'data>
impl<'data> Send for PeDebugSession<'data>
impl<'data> Sync for PeDebugSession<'data>
impl<'data> Unpin for PeDebugSession<'data>
impl<'data> UnwindSafe for PeDebugSession<'data>
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>,