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§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".