There's no reason to store a platform-native representation of DirEnts, Xattrs etc. inside the image metadata, it only makes the deserializing from the kernel side more difficult. So just use Vec, which is what OsStr uses under the hood for Unix systems.
There's no reason to store a platform-native representation of, which is what OsStr uses under the hood for Unix systems.
DirEnt
s,Xattr
s etc. inside the image metadata, it only makes the deserializing from the kernel side more difficult. So just use Vec