pub fn next<'a>(path: &'a str, base: Option<&str>) -> Option<&'a str>
Extracts the next path segment with a given base.
path
base