Trait pod::PodWriteExt [] [src]

pub trait PodWriteExt {
    fn write_pod<P: Pod>(&mut self, data: &P) -> Result<()>;
}

An extension trait for writing Pod types to std::io::Write data streams.

Required Methods

Writes the memory representation of a Pod struct to the stream. Behaves like write_all, failure to write the entire structure will result in an error.

Implementors