pub fn check_method_names<'a>(
additional_namespaces: impl IntoIterator<Item = &'a str>,
) -> Vec<(&'static str, InvalidRpcIdentifier)>
Expand description
Check whether we have any method names that do not conform to our conventions.
Violations of these conventions won’t stop the RPC system from working, but they may result in annoyances with namespacing, .
If provided, additional_namespaces
is a list of namespaces other than our standard ones that
we should accept.
Returns a Vec
of method names that violate our rules, along with the rules that they violate.