Enum encode_unicode::error::InvalidUtf8Array [] [src]

pub enum InvalidUtf8Array {
    Utf8(InvalidUtf8),
    Codepoint(InvalidCodepoint),
}

Reasons why a byte array is not valid UTF-8, in sinking precedence.

Variants

Not a valid UTF-8 sequence.

Not a valid unicode codepoint.

Trait Implementations

impl Clone for InvalidUtf8Array
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for InvalidUtf8Array
[src]

impl Debug for InvalidUtf8Array
[src]

Formats the value using the given formatter.

impl PartialEq for InvalidUtf8Array
[src]

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

This method tests for !=.

impl Eq for InvalidUtf8Array
[src]

impl From<InvalidUtf8> for InvalidUtf8Array
[src]

Performs the conversion.

impl From<InvalidCodepoint> for InvalidUtf8Array
[src]

Performs the conversion.

impl Error for InvalidUtf8Array
[src]

A short description of the error. Read more

Always returns Some.

impl Display for InvalidUtf8Array
[src]

Formats the value using the given formatter. Read more