Struct avro_rs::DecodeError
source · pub struct DecodeError(_);
Expand description
Describes errors happened while decoding Avro data.
Implementations§
source§impl DecodeError
impl DecodeError
pub fn new<S>(msg: S) -> DecodeErrorwhere
S: Into<String>,
Trait Implementations§
source§impl Debug for DecodeError
impl Debug for DecodeError
source§impl Display for DecodeError
impl Display for DecodeError
source§impl Fail for DecodeError
impl Fail for DecodeError
source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read more