pub enum Error {
Incomplete,
Mismatch {
message: String,
position: usize,
},
Conversion {
message: String,
position: usize,
},
Custom {
message: String,
position: usize,
inner: Option<Box<Error>>,
},
}
Variants
Incomplete
Mismatch
Fields of Mismatch
Conversion
Fields of Conversion
Custom
Fields of Custom
Trait Implementations
Formats the value using the given formatter.
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, __arg_0: &Error) -> bool
This method tests for !=
.