pub struct TarEntryStreaming<'a> {
pub header: TarHeader<'a>,
pub header_len: u64,
pub content_len: u64,
pub padding_len: u64,
}
Expand description
A tar entry extracted using parse_entry_streaming
.
Maybe a file, a directory, or some extensions.
Fields§
§header: TarHeader<'a>
Header of the entry.
header_len: u64
The size of header. To get the offset of the content, add this field to the offset of the header.
You may need to call parse_long_name
for GNU long name,
or parse_pax
for PAX properties.
content_len: u64
Length of the content.
padding_len: u64
Padding after the content that needs to be ignored.
Trait Implementations§
Source§impl<'a> Debug for TarEntryStreaming<'a>
impl<'a> Debug for TarEntryStreaming<'a>
Source§impl<'a> PartialEq for TarEntryStreaming<'a>
impl<'a> PartialEq for TarEntryStreaming<'a>
impl<'a> Eq for TarEntryStreaming<'a>
impl<'a> StructuralPartialEq for TarEntryStreaming<'a>
Auto Trait Implementations§
impl<'a> Freeze for TarEntryStreaming<'a>
impl<'a> RefUnwindSafe for TarEntryStreaming<'a>
impl<'a> Send for TarEntryStreaming<'a>
impl<'a> Sync for TarEntryStreaming<'a>
impl<'a> Unpin for TarEntryStreaming<'a>
impl<'a> UnwindSafe for TarEntryStreaming<'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