Struct csv::FromUtf8Error
[−]
[src]
pub struct FromUtf8Error { /* fields omitted */ }
A UTF-8 validation error during record conversion.
This occurs when attempting to convert a ByteRecord
into a
StringRecord
.
Methods
impl FromUtf8Error
[src]
pub fn into_byte_record(self) -> ByteRecord
[src]
Access the underlying ByteRecord
that failed UTF-8 validation.
pub fn utf8_error(&self) -> &Utf8Error
[src]
Access the underlying UTF-8 validation error.
Trait Implementations
impl Clone for FromUtf8Error
[src]
fn clone(&self) -> FromUtf8Error
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for FromUtf8Error
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for FromUtf8Error
[src]
impl PartialEq for FromUtf8Error
[src]
fn eq(&self, __arg_0: &FromUtf8Error) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FromUtf8Error) -> bool
[src]
This method tests for !=
.
impl Display for FromUtf8Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more