pub fn apply_ros_args<'a, I>(
executor: Option<&mut Executor<'_>>,
args: I,
) -> Result<usize, ApplyError<'a>>where
I: IntoIterator<Item = &'a str>,Expand description
Parse args and, given an executor, install its -r rules as the
FALLBACK tier — the whole of “honour --ros-args” for a caller with no
allocator (the C++ ABI, nros_cpp_install_argv_remaps).
With executor = None it only VALIDATES, so a caller can refuse a bad
vector before opening a session at all. All or nothing either way: on any
error nothing is installed. Returns the number of rules installed (or that
would be).