pub trait IoOutput {
type Error;
// Required method
async fn write(&mut self, value: &str) -> Result<(), Self::Error>;
}Expand description
The raw IO output.
This trait is not implemented by the library in a concrete way. Instead, depending on which async runtime you are using, you will have to implement it yourself.
Required Associated Types§
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.