Struct csv::Utf8Error[][src]

pub struct Utf8Error { /* fields omitted */ }

A UTF-8 validation error.

This occurs when attempting to convert a ByteRecord into a StringRecord.

The error includes the index of the field that failed validation, and the last byte at which valid UTF-8 was verified.

Methods

impl Utf8Error
[src]

The field index of a byte record in which UTF-8 validation failed.

The index into the given field up to which valid UTF-8 was verified.

Trait Implementations

impl Clone for Utf8Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Utf8Error
[src]

Formats the value using the given formatter. Read more

impl Eq for Utf8Error
[src]

impl PartialEq for Utf8Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl StdError for Utf8Error
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

impl Display for Utf8Error
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Utf8Error

impl Sync for Utf8Error