[−][src]Struct symbolic::debuginfo::pe::PeDebugSession
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<'d> PeDebugSession<'d>
[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]
Looks up a file's source contents by its full canonicalized path.
The given path must be canonicalized.
Trait Implementations
impl<'d> Debug for PeDebugSession<'d>
[src]
impl<'_> DebugSession for PeDebugSession<'_>
[src]
type Error = PeError
The error returned when reading debug information fails.
fn functions(
&self
) -> Box<dyn Iterator<Item = Result<Function, <PeDebugSession<'_> as DebugSession>::Error>>>
[src]
&self
) -> Box<dyn Iterator<Item = Result<Function, <PeDebugSession<'_> as DebugSession>::Error>>>
fn files(
&self
) -> Box<dyn Iterator<Item = Result<FileEntry, <PeDebugSession<'_> as DebugSession>::Error>>>
[src]
&self
) -> Box<dyn Iterator<Item = Result<FileEntry, <PeDebugSession<'_> as DebugSession>::Error>>>
fn source_by_path(
&self,
path: &str
) -> Result<Option<Cow<str>>, <PeDebugSession<'_> as DebugSession>::Error>
[src]
&self,
path: &str
) -> Result<Option<Cow<str>>, <PeDebugSession<'_> as DebugSession>::Error>
Auto Trait Implementations
impl<'d> RefUnwindSafe for PeDebugSession<'d>
impl<'d> Send for PeDebugSession<'d>
impl<'d> Sync for PeDebugSession<'d>
impl<'d> Unpin for PeDebugSession<'d>
impl<'d> UnwindSafe for PeDebugSession<'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,
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.
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>,