pub struct CsvCodec { /* private fields */ }Expand description
CSV/TSV/PSV codec.
Decodes raw bytes into a column-aligned table view. On encode, reconstructs the original delimiter format from metadata.
Implementations§
Trait Implementations§
Source§impl ContentCodec for CsvCodec
impl ContentCodec for CsvCodec
Source§fn decode(&self, raw: &[u8]) -> Result<DecodeResult, CodecError>
fn decode(&self, raw: &[u8]) -> Result<DecodeResult, CodecError>
Decode raw bytes into text. Read more
Auto Trait Implementations§
impl Freeze for CsvCodec
impl RefUnwindSafe for CsvCodec
impl Send for CsvCodec
impl Sync for CsvCodec
impl Unpin for CsvCodec
impl UnsafeUnpin for CsvCodec
impl UnwindSafe for CsvCodec
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