pub trait WithFile<T> {
// Required method
fn with_file<F: Into<Arc<str>>>(self, file: F) -> Result<T, RichError>;
}
Expand description
Helper trait to update Result<A, RichError>
with the affected source file.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.