pub trait Collector<Inner, Item> {
// Required method
fn commit(out: &RefCell<Self>, captured: Inner);
}Expand description
A trait for types that can collect captured items into a destination.
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.