pub trait Emitter<O> {
// Required method
fn emit(&self) -> O;
}
Expand description
Emitter
s are capable of continuously
returning an owned object to the
caller. Iterator
is a subset of this
interface in that Emitter<Option<T>>
is
equivalent to Iterator<T>
.