pub trait ErrorCollector<E> {
type Result;
// Required methods
fn collect(&mut self, err: E);
fn into_result(self) -> Self::Result;
}Required Associated Types§
Required Methods§
fn collect(&mut self, err: E)
fn into_result(self) -> Self::Result
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".