Enum csv_core::ReadRecordNoCopyResult
source · pub enum ReadRecordNoCopyResult {
InputEmpty,
Record,
End,
}
Expand description
The result of parsing at most one record from CSV data while ignoring output.
Variants§
InputEmpty
The caller provided input was exhausted before the end of a record was found.
Record
The end of a record was found.
End
All CSV data has been read.
This state can only be returned when an empty input buffer is provided by the caller.
Trait Implementations§
source§impl Clone for ReadRecordNoCopyResult
impl Clone for ReadRecordNoCopyResult
source§fn clone(&self) -> ReadRecordNoCopyResult
fn clone(&self) -> ReadRecordNoCopyResult
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReadRecordNoCopyResult
impl Debug for ReadRecordNoCopyResult
source§impl PartialEq<ReadRecordNoCopyResult> for ReadRecordNoCopyResult
impl PartialEq<ReadRecordNoCopyResult> for ReadRecordNoCopyResult
source§fn eq(&self, other: &ReadRecordNoCopyResult) -> bool
fn eq(&self, other: &ReadRecordNoCopyResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ReadRecordNoCopyResult
impl StructuralEq for ReadRecordNoCopyResult
impl StructuralPartialEq for ReadRecordNoCopyResult
Auto Trait Implementations§
impl RefUnwindSafe for ReadRecordNoCopyResult
impl Send for ReadRecordNoCopyResult
impl Sync for ReadRecordNoCopyResult
impl Unpin for ReadRecordNoCopyResult
impl UnwindSafe for ReadRecordNoCopyResult
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