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
..
2019-12-10 20:18:01 +01:00
2019-12-10 20:18:01 +01:00
2020-04-15 00:02:14 +02:00
2020-04-15 00:02:14 +02:00
2019-12-16 20:36:49 +08:00
2019-12-10 20:18:01 +01:00
2020-05-18 13:28:20 +02:00
2020-05-18 13:28:20 +02:00
2020-05-18 13:28:20 +02:00
2020-05-18 13:28:20 +02:00
2019-12-16 20:36:49 +08:00
2020-05-11 23:33:32 +02:00
2020-01-10 10:48:32 +01:00
2020-08-20 09:55:03 +00:00
2020-05-18 13:28:20 +02:00
2020-05-18 13:28:20 +02:00
2019-12-10 20:18:01 +01:00
2020-01-10 10:48:32 +01:00
2019-12-10 20:18:01 +01:00
2020-01-10 10:48:32 +01:00
2019-12-10 20:18:01 +01:00
2020-01-10 10:48:32 +01:00
2019-12-16 20:36:49 +08:00
2020-01-10 10:48:32 +01:00
2019-12-16 20:36:49 +08:00
2019-12-10 20:18:01 +01:00
2020-10-22 21:09:13 +02:00
2020-10-22 21:09:13 +02:00
2020-10-22 21:09:13 +02:00
2020-10-22 21:09:13 +02:00
2020-03-31 13:46:07 +02:00
2020-03-31 13:46:07 +02:00
2020-05-18 13:28:20 +02:00
2020-05-18 13:28:20 +02:00
2020-03-31 13:46:07 +02:00
2020-10-22 21:09:13 +02:00
2020-05-18 13:28:20 +02:00
2020-05-18 13:28:20 +02:00
2020-03-31 13:46:07 +02:00
2020-09-15 07:54:35 +02:00
2020-10-21 21:50:07 +00:00
2020-10-21 21:50:07 +00:00
2020-01-10 10:48:32 +01:00
2020-08-20 09:55:03 +00:00