pub struct Encoder<'z, S: Storage> { /* private fields */ }
Expand description
An encoder for Nucleotide Archive Format files.
NAF archives decomposes data into separate content blocks, which means
a NAF file can only be written to a file once all the records have been
processed. The encoder uses a temporary storage to store the
intermediate data, with an abstract interface declared as the
Storage
trait.
Implementations§
source§impl<S: Storage> Encoder<'_, S>
impl<S: Storage> Encoder<'_, S>
Auto Trait Implementations§
impl<'z, S> Freeze for Encoder<'z, S>
impl<'z, S> RefUnwindSafe for Encoder<'z, S>
impl<'z, S> Send for Encoder<'z, S>
impl<'z, S> Sync for Encoder<'z, S>
impl<'z, S> Unpin for Encoder<'z, S>
impl<'z, S> UnwindSafe for Encoder<'z, S>
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