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]
impl FromUtf8Error
pub fn into_byte_record(self) -> ByteRecord
[src]
pub fn into_byte_record(self) -> ByteRecord
Access the underlying ByteRecord
that failed UTF-8 validation.
pub fn utf8_error(&self) -> &Utf8Error
[src]
pub fn utf8_error(&self) -> &Utf8Error
Access the underlying UTF-8 validation error.
Trait Implementations
impl Clone for FromUtf8Error
[src]
impl Clone for FromUtf8Error
fn clone(&self) -> FromUtf8Error
[src]
fn clone(&self) -> FromUtf8Error
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for FromUtf8Error
[src]
impl Debug for FromUtf8Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for FromUtf8Error
[src]
impl Eq for FromUtf8Error
impl PartialEq for FromUtf8Error
[src]
impl PartialEq for FromUtf8Error
fn eq(&self, other: &FromUtf8Error) -> bool
[src]
fn eq(&self, other: &FromUtf8Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &FromUtf8Error) -> bool
[src]
fn ne(&self, other: &FromUtf8Error) -> bool
This method tests for !=
.
impl Display for FromUtf8Error
[src]
impl Display for FromUtf8Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl StdError for FromUtf8Error
[src]
impl StdError for FromUtf8Error
Auto Trait Implementations
impl Send for FromUtf8Error
impl Send for FromUtf8Error
impl Sync for FromUtf8Error
impl Sync for FromUtf8Error