Function path_iter

Source
pub fn path_iter(path: &str) -> impl Iterator<Item = &str>
Expand description

Split a string in the form of /NodeA/NodeB/… into an iterator of path segment.

Use that function to pass to various tree and node API functions expecting a path.