pub fn serialize<S: Serializer>(path: &Path, s: S) -> Result<S::Ok, S::Error>Expand description
Serialize a Path with forward slashes for cross-platform consistency.
ยงErrors
Returns any serializer error produced while writing the normalized path string.