pub enum VirtPath {
Relative(Vec<u8>),
Absolute(Vec<u8>),
}
Expand description
Virtual (in-memory) path representation.
Variants§
Relative(Vec<u8>)
The path is relative, like “output.txt”
Absolute(Vec<u8>)
The path is absolute, like “/home/user/output.txt”
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VirtPath
impl RefUnwindSafe for VirtPath
impl Send for VirtPath
impl Sync for VirtPath
impl Unpin for VirtPath
impl UnwindSafe for VirtPath
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