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
sourceimpl Clone for ReadRecordNoCopyResult
impl Clone for ReadRecordNoCopyResult
sourcefn clone(&self) -> ReadRecordNoCopyResult
fn clone(&self) -> ReadRecordNoCopyResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ReadRecordNoCopyResult
impl Debug for ReadRecordNoCopyResult
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more