pub trait LiveSink: Send + Sync {
// Required method
fn on_event(&self, event: &Value);
}Expand description
Shown a task’s events as they are journaled. basis-cli’s own terminal
renderer is the first implementation, but the trait carries no opinion
about a terminal — a host could log, forward over a socket, or update a
UI just as well.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".