Enum tarrasque::ExtractError [] [src]

pub enum ExtractError<'a> {
    Encoding(&'a [u8], Utf8Error),
    Insufficient(usize),
}

An error encountered while extracting a value from a stream of bytes.

Variants

The stream contained bytes that could not be converted into a valid UTF-8 string.

The stream did not contain enough bytes to extract the value.

Trait Implementations

impl<'a> Copy for ExtractError<'a>
[src]

impl<'a> Clone for ExtractError<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Debug for ExtractError<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for ExtractError<'a>
[src]

[src]

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

[src]

This method tests for !=.

impl<'a> Eq for ExtractError<'a>
[src]

Auto Trait Implementations

impl<'a> Send for ExtractError<'a>

impl<'a> Sync for ExtractError<'a>