Trait WriteableDataBlock

Source
pub trait WriteableDataBlock {
    // Required method
    fn write_data<W: Write>(&self, target: W) -> Result<()>;
}
Expand description

Traits for data blocks that can write out data.

Required Methods§

Source

fn write_data<W: Write>(&self, target: W) -> Result<()>

Write the data from this block into a target.

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.

Implementors§