WritableRecord

Trait WritableRecord 

Source
pub trait WritableRecord {
    // Required method
    fn write_using<W: Write>(
        &self,
        field_writer: &mut FieldWriter<'_, W>,
    ) -> Result<(), FieldIOError>;
}
Expand description

Trait to be implemented by struct that you want to be able to write to (serialize) a dBase file

Required Methods§

Source

fn write_using<W: Write>( &self, field_writer: &mut FieldWriter<'_, W>, ) -> Result<(), FieldIOError>

Use the FieldWriter to write the fields of the record

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§