Enum csv_core::Terminator
source · [−]pub enum Terminator {
CRLF,
Any(u8),
// some variants omitted
}
Expand description
A record terminator.
Use this to specify the record terminator while parsing CSV. The default is
CRLF, which treats \r
, \n
or \r\n
as a single record terminator.
Variants
CRLF
Parses \r
, \n
or \r\n
as a single record terminator.
Any(u8)
Parses the byte given as a record terminator.
Trait Implementations
sourceimpl Clone for Terminator
impl Clone for Terminator
sourcefn clone(&self) -> Terminator
fn clone(&self) -> Terminator
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Terminator
impl Debug for Terminator
sourceimpl Default for Terminator
impl Default for Terminator
sourcefn default() -> Terminator
fn default() -> Terminator
Returns the “default value” for a type. Read more
impl Copy for Terminator
Auto Trait Implementations
impl RefUnwindSafe for Terminator
impl Send for Terminator
impl Sync for Terminator
impl Unpin for Terminator
impl UnwindSafe for Terminator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more