Struct avro_rs::ValidationError
source · pub struct ValidationError(_);
Expand description
Describes errors happened while validating Avro data.
Implementations§
source§impl ValidationError
impl ValidationError
pub fn new<S>(msg: S) -> ValidationErrorwhere
S: Into<String>,
Trait Implementations§
source§impl Debug for ValidationError
impl Debug for ValidationError
source§impl Display for ValidationError
impl Display for ValidationError
source§impl Fail for ValidationError
impl Fail for ValidationError
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