Macro request
macro_rules! request {
($this:ident, $func:ident, $arg:expr_2021, $result:ident) => { ... };
}Expand description
This macro is used specifically for the function push_configuration.
It simplifies the error handling and logging of the requests to the runtime.
If the is_fail_fast flag is set to true, the function will return immediately if an error occurs.
Otherwise, the error will be logged and the function will continue.
ยงArguments
$this: The instance of theRuntimeHandlerstruct.$func: The function to call on therest_client.$arg: The argument to pass to the function.$result: The result of the function call. Must be of typeResult<(), RuntimeManagerError>and mutable.