pub struct AdatWriter<W: Write> { /* private fields */ }Expand description
Writer for .adat files.
Implementations§
Source§impl<W: Write> AdatWriter<W>
impl<W: Write> AdatWriter<W>
Sourcepub fn add_schema(&mut self, schema: UniversalSchema)
pub fn add_schema(&mut self, schema: UniversalSchema)
Add a schema to the file.
Sourcepub fn add_source(&mut self, source: DataSource)
pub fn add_source(&mut self, source: DataSource)
Add a data source.
Sourcepub fn add_record(&mut self, record: DataRecord)
pub fn add_record(&mut self, record: DataRecord)
Add a record.
Auto Trait Implementations§
impl<W> Freeze for AdatWriter<W>where
W: Freeze,
impl<W> RefUnwindSafe for AdatWriter<W>where
W: RefUnwindSafe,
impl<W> Send for AdatWriter<W>where
W: Send,
impl<W> Sync for AdatWriter<W>where
W: Sync,
impl<W> Unpin for AdatWriter<W>where
W: Unpin,
impl<W> UnsafeUnpin for AdatWriter<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for AdatWriter<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