pub fn serialize<S: Serializer>(path: &Path, s: S) -> Result<S::Ok, S::Error>
Serialize a Path with forward slashes for cross-platform consistency.
Path