Enum rusteval::InteractiveError
source · #[non_exhaustive]
pub enum InteractiveError<'a> {
InteractiveNotImplemented {
type_name: &'a str,
},
MethodsNotImplemented {
type_name: &'a str,
},
DebugNotImplemented {
type_name: &'static str,
},
FieldNotFound {
type_name: &'a str,
field_name: &'a str,
},
MethodNotFound {
type_name: &'a str,
method_name: &'a str,
},
FunctionNotFound {
function_name: &'a str,
},
WrongNumberOfArguments {
method_name: &'a str,
expected: usize,
found: usize,
},
ArgParseError {
method_name: &'a str,
error: ArgParseError<'a>,
},
SyntaxError,
}
Expand description
The main error type of this crate.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InteractiveNotImplemented
MethodsNotImplemented
DebugNotImplemented
FieldNotFound
MethodNotFound
FunctionNotFound
WrongNumberOfArguments
ArgParseError
SyntaxError
Trait Implementations§
source§impl<'a> Clone for InteractiveError<'a>
impl<'a> Clone for InteractiveError<'a>
source§fn clone(&self) -> InteractiveError<'a>
fn clone(&self) -> InteractiveError<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more