pub struct ArchiveEntryInfo {
pub path: String,
pub size: u64,
}Expand description
Path and uncompressed size for a single archive entry.
size comes from the archive header and may be 0 for formats that do
not record it there (some raw compressed streams, ZIP entries using a
data descriptor). Tar and standard ZIP populate it reliably.
Fields§
§path: String§size: u64Trait Implementations§
Source§impl Clone for ArchiveEntryInfo
impl Clone for ArchiveEntryInfo
Source§fn clone(&self) -> ArchiveEntryInfo
fn clone(&self) -> ArchiveEntryInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ArchiveEntryInfo
impl RefUnwindSafe for ArchiveEntryInfo
impl Send for ArchiveEntryInfo
impl Sync for ArchiveEntryInfo
impl Unpin for ArchiveEntryInfo
impl UnsafeUnpin for ArchiveEntryInfo
impl UnwindSafe for ArchiveEntryInfo
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