pub enum EntryKind<'a> {
File(&'a [u8]),
Executable(&'a [u8]),
Symlink(&'a [u8]),
Tree(&'a [Entry<'a>]),
}Expand description
Borrowed contents and mode of a tree entry. Symlink contents are target bytes.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for EntryKind<'a>
impl<'a> RefUnwindSafe for EntryKind<'a>
impl<'a> Send for EntryKind<'a>
impl<'a> Sync for EntryKind<'a>
impl<'a> Unpin for EntryKind<'a>
impl<'a> UnsafeUnpin for EntryKind<'a>
impl<'a> UnwindSafe for EntryKind<'a>
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