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 for ReadRecordNoCopyResult
impl PartialEq for ReadRecordNoCopyResult
impl Eq for ReadRecordNoCopyResult
impl StructuralPartialEq for ReadRecordNoCopyResult
Auto Trait Implementations§
impl Freeze for ReadRecordNoCopyResult
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)