From here I understand that the components method produces an iterator over the Components of std::path::Path. In particular, the type Com
components
Components
std::path::Path