pub enum Path {
Directory(Directory),
File(File),
Link(Link),
}
Expand description
Represents the three possible types inside a path type line of an MTREE file.
While serializing, the type is converted into a type
field on the inner struct.
This means that Vec<Path>
will be serialized to a list of maps where each map has a type
entry with the respective name.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Path
impl RefUnwindSafe for Path
impl Send for Path
impl Sync for Path
impl Unpin for Path
impl UnwindSafe for Path
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