Expand description
A single entry in a NAR file.
Fields
path: Option<PathBuf>The path to the entry in the archive. The top-level entry
doesn’t have a path, so the first entry will have path = None. This path is the full path in the archive with all
parent paths combined. I.e. this is “some/subdir/my-file”, and
not just “my-file”.
content: Content<'a, R>The contents of the entry.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a, R> !RefUnwindSafe for Entry<'a, R>
impl<'a, R> !Send for Entry<'a, R>
impl<'a, R> !Sync for Entry<'a, R>
impl<'a, R> Unpin for Entry<'a, R>
impl<'a, R> !UnwindSafe for Entry<'a, R>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more