pub trait OutputWriter<T: Serialize> {
type Properties;
// Required method
fn write(
data: T,
sink: &dyn OutputSink,
properties: Self::Properties,
) -> Result<(), Error>;
}Required Associated Types§
type Properties
Required Methods§
fn write( data: T, sink: &dyn OutputSink, properties: Self::Properties, ) -> Result<(), Error>
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.