pub trait ProofEventSink:
Send
+ Sync
+ 'static {
// Required method
fn emit(&self, event: ProofEvent);
// Provided method
fn flush(&self) { ... }
}Expand description
A consumer of proof events.
Implementations must be Send + Sync + 'static so they can be stored in a
thread-local and potentially forwarded across threads.
Required Methods§
Sourcefn emit(&self, event: ProofEvent)
fn emit(&self, event: ProofEvent)
Handle one event. Must not block the calling thread.
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".