pub enum FunctionErrorKind {
UnknownFunction,
ArityMismatch {
expected: usize,
actual: usize,
},
TooManyArguments {
max_args: usize,
actual: usize,
},
InvalidArgumentType {
index: usize,
expected: Vec<Type>,
actual: Type,
},
UndefinedArgument {
index: usize,
},
MissingInput,
ExecutionFailed {
reason: String,
},
InternalError {
details: String,
},
GeneratorNotFound,
}Variants§
UnknownFunction
ArityMismatch
TooManyArguments
InvalidArgumentType
UndefinedArgument
MissingInput
ExecutionFailed
InternalError
GeneratorNotFound
Trait Implementations§
Source§impl Clone for FunctionErrorKind
impl Clone for FunctionErrorKind
Source§fn clone(&self) -> FunctionErrorKind
fn clone(&self) -> FunctionErrorKind
Returns a duplicate 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 moreSource§impl Debug for FunctionErrorKind
impl Debug for FunctionErrorKind
Source§impl PartialEq for FunctionErrorKind
impl PartialEq for FunctionErrorKind
impl StructuralPartialEq for FunctionErrorKind
Auto Trait Implementations§
impl Freeze for FunctionErrorKind
impl RefUnwindSafe for FunctionErrorKind
impl Send for FunctionErrorKind
impl Sync for FunctionErrorKind
impl Unpin for FunctionErrorKind
impl UnsafeUnpin for FunctionErrorKind
impl UnwindSafe for FunctionErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more