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
Encoding(&'a [u8], Utf8Error)
The stream contained bytes that could not be converted into a valid UTF-8 string.
Insufficient(usize)
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]
fn clone(&self) -> ExtractError<'a>
[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<'a> Debug for ExtractError<'a>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a> PartialEq for ExtractError<'a>
[src]
fn eq(&self, __arg_0: &ExtractError<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ExtractError<'a>) -> bool
[src]
This method tests for !=
.