pub struct Entry<'a> { /* private fields */ }
Expand description
Entry
represents a file / dir in an archive.
Implementations§
Source§impl<'a> Entry<'a>
impl<'a> Entry<'a>
Sourcepub fn file_name(&self) -> Result<Cow<'_, str>>
pub fn file_name(&self) -> Result<Cow<'_, str>>
file_name
returns the name of the entry decoded with the provided decoder.
It may fail if the decoder cannot decode the name.
Auto Trait Implementations§
impl<'a> Freeze for Entry<'a>
impl<'a> RefUnwindSafe for Entry<'a>
impl<'a> !Send for Entry<'a>
impl<'a> !Sync for Entry<'a>
impl<'a> Unpin for Entry<'a>
impl<'a> UnwindSafe for Entry<'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