Enum tarrasque::ExtractError
source · Expand description
An error encountered while extracting a value from a stream of bytes.
Variants
Code(u32)
An error code.
Encoding(&'s [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
sourceimpl<'s> Clone for ExtractError<'s>
impl<'s> Clone for ExtractError<'s>
sourcefn clone(&self) -> ExtractError<'s>
fn clone(&self) -> ExtractError<'s>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'s> Debug for ExtractError<'s>
impl<'s> Debug for ExtractError<'s>
sourceimpl<'s> PartialEq<ExtractError<'s>> for ExtractError<'s>
impl<'s> PartialEq<ExtractError<'s>> for ExtractError<'s>
sourcefn eq(&self, other: &ExtractError<'s>) -> bool
fn eq(&self, other: &ExtractError<'s>) -> bool
impl<'s> Copy for ExtractError<'s>
impl<'s> Eq for ExtractError<'s>
impl<'s> StructuralEq for ExtractError<'s>
impl<'s> StructuralPartialEq for ExtractError<'s>
Auto Trait Implementations
impl<'s> RefUnwindSafe for ExtractError<'s>
impl<'s> Send for ExtractError<'s>
impl<'s> Sync for ExtractError<'s>
impl<'s> Unpin for ExtractError<'s>
impl<'s> UnwindSafe for ExtractError<'s>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more