pub enum StoredPath {
Text(String),
Unix {
unix: Vec<u8>,
},
Windows {
windows: Vec<u16>,
},
}Expand description
Lossless on-disk representation of a native path.
Variants§
Text(String)
A path representable as Unicode text.
Unix
Unix path bytes.
Windows
Windows wide path units.
Implementations§
Trait Implementations§
Source§impl Clone for StoredPath
impl Clone for StoredPath
Source§impl Debug for StoredPath
impl Debug for StoredPath
Source§impl<'de> Deserialize<'de> for StoredPath
impl<'de> Deserialize<'de> for StoredPath
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StoredPath
Source§impl From<&Path> for StoredPath
impl From<&Path> for StoredPath
Source§impl PartialEq for StoredPath
impl PartialEq for StoredPath
Source§impl Serialize for StoredPath
impl Serialize for StoredPath
impl StructuralPartialEq for StoredPath
Auto Trait Implementations§
impl Forget for StoredPath
impl Freeze for StoredPath
impl Move for StoredPath
impl RefUnwindSafe for StoredPath
impl Send for StoredPath
impl Sync for StoredPath
impl Unpin for StoredPath
impl UnsafeUnpin for StoredPath
impl UnwindSafe for StoredPath
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more