Trait LoadedWithin
pub trait LoadedWithin {
type Output;
// Required method
fn within(self, loaded: &Loaded) -> Self::Output;
}Expand description
Convert a LoadError or compatible Result to a SourceDiagnostic
or SourceResult by adding the [Loaded] context.
Required Associated Types§
type Output
type Output
The enriched type that has the context factored in.