pub struct RawEntry<'a> {
pub name: &'a str,
pub method: u16,
pub crc: u32,
pub size: u32,
pub bytes: &'a [u8],
}Expand description
An entry written as given (slice 7d): bytes go into the file under
method, and crc and size describe the uncompressed content. A
stored entry’s bytes are its content; an entry copied from another
archive keeps that archive’s compressed bytes, method, CRC and size, so
the copy is byte-exact without decoding.
Fields§
§name: &'a str§method: u16§crc: u32§size: u32§bytes: &'a [u8]Auto Trait Implementations§
impl<'a> Freeze for RawEntry<'a>
impl<'a> RefUnwindSafe for RawEntry<'a>
impl<'a> Send for RawEntry<'a>
impl<'a> Sync for RawEntry<'a>
impl<'a> Unpin for RawEntry<'a>
impl<'a> UnsafeUnpin for RawEntry<'a>
impl<'a> UnwindSafe for RawEntry<'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