We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a trait like so:
#[async_trait] pub trait RetryMove { fn map_accessor(&self) -> &HashMap<String, String>; async fn method_1(&self, test: &str); }
when I try and use mock_method! on method_1 I start getting compile errors like so
mock_method!
method_1
133 | mock_method!(method_1(&self, test: &str)); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetimes do not match method in trait
My running assumption is that double does not deal in async functions? Any plans to implement? Or am I missing something obvious?
double
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a trait like so:
when I try and use
mock_method!
onmethod_1
I start getting compile errors like soMy running assumption is that
double
does not deal in async functions? Any plans to implement? Or am I missing something obvious?The text was updated successfully, but these errors were encountered: