Enum hprose::io::DecoderError
[−]
[src]
pub enum DecoderError { ParserError(ParserError), CastError(&'static str, &'static str), UnexpectedTag(u8, Option<Bytes>), ReferenceError, ApplicationError(String), }
A set of errors that can occur decoding byte slice
Variants
ParserError(ParserError)
CastError(&'static str, &'static str)
UnexpectedTag(u8, Option<Bytes>)
ReferenceError
ApplicationError(String)
Trait Implementations
impl Clone for DecoderError
[src]
fn clone(&self) -> DecoderError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for DecoderError
[src]
fn eq(&self, __arg_0: &DecoderError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DecoderError) -> bool
This method tests for !=
.
impl Debug for DecoderError
[src]
impl From<ParserError> for DecoderError
[src]
fn from(e: ParserError) -> DecoderError
Performs the conversion.