[−][src]Struct symbolic_debuginfo::sourcebundle::SourceBundleDebugSession
Debug session for SourceBundle objects.
Implementations
impl<'d> SourceBundleDebugSession<'d>
[src]
pub fn files(&self) -> SourceBundleFileIterator<'_>ⓘNotable traits for SourceBundleFileIterator<'s>
impl<'s> Iterator for SourceBundleFileIterator<'s> type Item = Result<FileEntry<'s>, SourceBundleError>;
[src]
Notable traits for SourceBundleFileIterator<'s>
impl<'s> Iterator for SourceBundleFileIterator<'s> type Item = Result<FileEntry<'s>, SourceBundleError>;
Returns an iterator over all source files in this debug file.
pub fn functions(&self) -> SourceBundleFunctionIterator<'_>ⓘNotable traits for SourceBundleFunctionIterator<'s>
impl<'s> Iterator for SourceBundleFunctionIterator<'s> type Item = Result<Function<'s>, SourceBundleError>;
[src]
Notable traits for SourceBundleFunctionIterator<'s>
impl<'s> Iterator for SourceBundleFunctionIterator<'s> type Item = Result<Function<'s>, SourceBundleError>;
Returns an iterator over all functions in this debug file.
pub fn source_by_path(
&self,
path: &str
) -> Result<Option<Cow<'_, str>>, SourceBundleError>
[src]
&self,
path: &str
) -> Result<Option<Cow<'_, str>>, SourceBundleError>
Looks up a file's source contents by its full canonicalized path.
The given path must be canonicalized.
Trait Implementations
impl<'d> DebugSession for SourceBundleDebugSession<'d>
[src]
type Error = SourceBundleError
The error returned when reading debug information fails.
fn functions(&self) -> DynIterator<'_, Result<Function<'_>, Self::Error>>
[src]
fn files(&self) -> DynIterator<'_, Result<FileEntry<'_>, Self::Error>>
[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 SourceBundleDebugSession<'d>
impl<'d> Send for SourceBundleDebugSession<'d>
impl<'d> !Sync for SourceBundleDebugSession<'d>
impl<'d> Unpin for SourceBundleDebugSession<'d>
impl<'d> !UnwindSafe for SourceBundleDebugSession<'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>,