pub trait MultiFileErrorCollector: Sealed {
// Provided methods
fn add_error(
self: Pin<&mut Self>,
filename: &str,
line: i32,
column: i32,
message: &str,
) { ... }
fn add_warning(
self: Pin<&mut Self>,
filename: &str,
line: i32,
column: i32,
message: &str,
) { ... }
}Expand description
If the importer encounters problems while trying to import the proto files,
it reports them to a MultiFileErrorCollector.
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".