Struct nuts_archive::SymlinkEntry
source · pub struct SymlinkEntry<'a, B: Backend> { /* private fields */ }Expand description
A symlink entry of the archive.
An instance of this type is attached to the Entry::Symlink variant and
provides symlink specific options.
Implementations§
Methods from Deref<Target = Mode>§
sourcepub fn is_directory(&self) -> bool
pub fn is_directory(&self) -> bool
Tests whether this Mode instance represents a directory.
sourcepub fn is_symlink(&self) -> bool
pub fn is_symlink(&self) -> bool
Tests whether this Mode instance represents a symlink.
sourcepub fn can_read(&self, group: Group) -> bool
pub fn can_read(&self, group: Group) -> bool
Tests whether a member of the given group has read access.
sourcepub fn can_write(&self, group: Group) -> bool
pub fn can_write(&self, group: Group) -> bool
Tests whether a member of the given group has write access.
sourcepub fn can_execute(&self, group: Group) -> bool
pub fn can_execute(&self, group: Group) -> bool
Tests whether a member of the given group has execute access.
Trait Implementations§
Auto Trait Implementations§
impl<'a, B> !RefUnwindSafe for SymlinkEntry<'a, B>
impl<'a, B> !Send for SymlinkEntry<'a, B>
impl<'a, B> !Sync for SymlinkEntry<'a, B>
impl<'a, B> Unpin for SymlinkEntry<'a, B>
impl<'a, B> !UnwindSafe for SymlinkEntry<'a, B>
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