pub enum FunctionError {
WrongNumberOfEntries {
expected_number_of_entries: usize,
actual_number_of_entries: usize,
},
}
Expand description
Custom error that can occur with the Function class defined below.
Variants§
WrongNumberOfEntries
The Function could not compute the function value because the Vector provided does not have the right number of arguments.
Trait Implementations§
Source§impl Debug for FunctionError
impl Debug for FunctionError
Source§impl Display for FunctionError
impl Display for FunctionError
Source§impl PartialEq for FunctionError
impl PartialEq for FunctionError
impl StructuralPartialEq for FunctionError
Auto Trait Implementations§
impl Freeze for FunctionError
impl RefUnwindSafe for FunctionError
impl Send for FunctionError
impl Sync for FunctionError
impl Unpin for FunctionError
impl UnwindSafe for FunctionError
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