[][src]Struct symbolic::debuginfo::sourcebundle::SourceBundleDebugSession

pub struct SourceBundleDebugSession<'d> { /* fields omitted */ }

Debug session for SourceBundle objects.

Implementations

impl<'d> SourceBundleDebugSession<'d>[src]

pub fn files(&self) -> SourceBundleFileIterator[src]

Returns an iterator over all source files in this debug file.

pub fn functions(&self) -> SourceBundleFunctionIterator[src]

Returns an iterator over all functions in this debug file.

pub fn source_by_path(
    &self,
    path: &str
) -> Result<Option<Cow<str>>, SourceBundleError>
[src]

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.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.