pub struct DbfWriter<W: Write> { /* private fields */ }Expand description
DBF (.dbf) writer
Implementations§
Source§impl<W: Write> DbfWriter<W>
impl<W: Write> DbfWriter<W>
Sourcepub fn new(writer: W, field_descriptors: Vec<FieldDescriptor>) -> Result<Self>
pub fn new(writer: W, field_descriptors: Vec<FieldDescriptor>) -> Result<Self>
Creates a new DBF writer
Sourcepub fn write_header(&mut self) -> Result<()>
pub fn write_header(&mut self) -> Result<()>
Writes the header (should be called first)
Sourcepub fn write_record(&mut self, record: &DbfRecord) -> Result<()>
pub fn write_record(&mut self, record: &DbfRecord) -> Result<()>
Writes a record
Auto Trait Implementations§
impl<W> Freeze for DbfWriter<W>where
W: Freeze,
impl<W> RefUnwindSafe for DbfWriter<W>where
W: RefUnwindSafe,
impl<W> Send for DbfWriter<W>where
W: Send,
impl<W> Sync for DbfWriter<W>where
W: Sync,
impl<W> Unpin for DbfWriter<W>where
W: Unpin,
impl<W> UnsafeUnpin for DbfWriter<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for DbfWriter<W>where
W: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more