Bastian Köcher
79be077774
Improve mock_impl_runtime_apis! ( #7370 )
...
* Improve `mock_impl_runtime_apis!`
This adds a new attribute for functions being implemented in the
`mock_impl_runtime_apis!` macro, the `advanced` attribute. When this
attribute is given the user gets access to the `at` parameter and is
able to return a `Result`, instead of letting the macro generate this
stuff.
* Use the `at_param_name` directly
* Prevent clashing of `params`
2020-10-22 21:09:13 +02:00
..
2020-10-08 11:40:52 +00:00
2020-10-22 21:09:13 +02:00
2020-10-17 09:43:46 +02:00
2020-10-09 23:35:09 +02:00
2020-09-22 19:47:38 +02:00
2020-09-22 19:47:38 +02:00
2020-09-22 19:47:38 +02:00
2020-09-22 19:47:38 +02:00
2020-09-22 19:47:38 +02:00
2020-10-16 16:22:50 +02:00
2020-10-22 21:09:13 +02:00
2020-09-22 19:47:38 +02:00
2020-09-22 19:47:38 +02:00
2020-10-20 12:41:51 +00:00
2020-10-08 20:56:35 +00:00
2020-09-22 19:47:38 +02:00
2020-10-20 12:41:51 +00:00
2020-09-22 19:47:38 +02:00
2020-10-08 20:56:35 +00:00
2020-10-08 14:50:54 +00:00
2020-09-22 19:47:38 +02:00
2020-09-22 19:47:38 +02:00
2020-09-22 19:47:38 +02:00
2020-10-04 14:34:37 +02:00
2020-10-20 12:41:51 +00:00
2020-09-22 19:47:38 +02:00
2020-09-22 19:47:38 +02:00
2020-09-22 19:47:38 +02:00
2020-04-17 12:10:31 +02:00
2020-09-22 19:47:38 +02:00
2020-10-20 12:41:51 +00:00
2020-09-22 19:47:38 +02:00
2020-09-22 19:47:38 +02:00
2020-10-20 12:41:51 +00:00
2020-09-22 19:47:38 +02:00
2020-09-22 19:47:38 +02:00
2020-10-20 12:51:51 +02:00
2020-09-22 19:47:38 +02:00
2020-09-22 19:47:38 +02:00
2020-09-22 19:47:38 +02:00
2020-09-22 19:47:38 +02:00
2020-09-22 19:47:38 +02:00