pub struct CsvParser;Available on crate feature
csv only.Expand description
Deserialises one framed CSV record.
Positional, not by header name: the header row is consumed by the framer and discarded, which is the behaviour this pair of crates has always had.
Trait Implementations§
impl Copy for CsvParser
Source§impl<T> FrameParser<ByteRecord, T> for CsvParserwhere
T: for<'de> Deserialize<'de>,
impl<T> FrameParser<ByteRecord, T> for CsvParserwhere
T: for<'de> Deserialize<'de>,
Source§fn parse(&self, frame: ByteRecord) -> Result<T, StreamError>
fn parse(&self, frame: ByteRecord) -> Result<T, StreamError>
Deserialise one framed record. Read more
Auto Trait Implementations§
impl Freeze for CsvParser
impl RefUnwindSafe for CsvParser
impl Send for CsvParser
impl Sync for CsvParser
impl Unpin for CsvParser
impl UnsafeUnpin for CsvParser
impl UnwindSafe for CsvParser
Blanket Implementations§
impl<T> Allocation for T
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