pub trait ToStream<S> {
// Required method
fn to_stream<W: Write>(&self, stream: &mut W) -> Result<()>;
}
Expand description
A trait for types, which can be written to streams. Most argument types might need some settings.
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.