pub trait PrintSink: Send + Sync {
// Required method
fn print(&self, text: String);
}Expand description
Where Print and PrintT output goes.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".