Enum gltf_json::validation::Error
[−]
pub enum Error { IndexOutOfBounds, Invalid, Missing, }
Specifies what kind of error occured during validation.
Variants
IndexOutOfBounds
An index was found to be out of bounds.
Invalid
An invalid value was identified.
Missing
Some required data has been omitted.
Trait Implementations
impl Clone for Error
fn clone(&self) -> Error
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 Debug for Error
impl PartialEq for Error
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Error for Error
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more