LoadedWithin

Trait LoadedWithin 

Source
pub trait LoadedWithin<T> {
    // Required method
    fn within(self, loaded: &Loaded) -> Result<T, EcoVec<SourceDiagnostic>>;
}
Expand description

Convert a LoadResult to a SourceResult by adding the Loaded context.

Required Methods§

Source

fn within(self, loaded: &Loaded) -> Result<T, EcoVec<SourceDiagnostic>>

Report an error, possibly in an external file.

Implementations on Foreign Types§

Source§

impl<T, E> LoadedWithin<T> for Result<T, E>
where E: Into<LoadError>,

Implementors§