pub trait Writer {
// Required methods
fn write<E: ByteOrder>(
self,
id_type: IdType,
content_type: impl Into<Ecc>,
writer: &mut dyn Write,
) -> Result<()>;
fn lazy_write<E: ByteOrder>(
self,
id_type: IdType,
content_type: impl Into<Ecc>,
writer: &mut dyn WriteSeek,
) -> Result<()>;
}
Expand description
Writer trait for HffDesc.
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.