Enum rust_slim::ExecuteMethodError
source · pub enum ExecuteMethodError {
MethodNotFound {
method: String,
class: String,
},
ArgumentParsingError(String),
ExecutionError(String),
}
Expand description
Error that can happen while trying to execute a method in a feature.
Variants§
MethodNotFound
The method might not exists, which should cause a MethodNotFound error.
ArgumentParsingError(String)
We might have an issue parsing the arguments. The implementation made by the #[fixture]
macro tries to parse each argument using the FromStr trait.
ExecutionError(String)
And there might be some failure in the method itself, which should cause an ExecutionError.
Trait Implementations§
source§impl Clone for ExecuteMethodError
impl Clone for ExecuteMethodError
source§fn clone(&self) -> ExecuteMethodError
fn clone(&self) -> ExecuteMethodError
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 moresource§impl Debug for ExecuteMethodError
impl Debug for ExecuteMethodError
source§impl PartialEq for ExecuteMethodError
impl PartialEq for ExecuteMethodError
source§fn eq(&self, other: &ExecuteMethodError) -> bool
fn eq(&self, other: &ExecuteMethodError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToString for ExecuteMethodError
impl ToString for ExecuteMethodError
impl Eq for ExecuteMethodError
impl StructuralPartialEq for ExecuteMethodError
Auto Trait Implementations§
impl Freeze for ExecuteMethodError
impl RefUnwindSafe for ExecuteMethodError
impl Send for ExecuteMethodError
impl Sync for ExecuteMethodError
impl Unpin for ExecuteMethodError
impl UnwindSafe for ExecuteMethodError
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