#[repr(C)]pub struct gz_header {}
Expand description
gzip header information passed to and from zlib routines. See RFC 1952 for more details on the meanings of these fields.
Fields§
§text: i32
true if compressed data believed to be text
time: u32
modification time
xflags: i32
extra flags (not used when writing a gzip file)
os: i32
operating system
extra: *mut u8
pointer to extra field or NULL if none
extra_len: u32
extra field length (valid if extra != NULL)
extra_max: u32
space at extra (only when reading header)
name: *mut u8
pointer to zero-terminated file name or NULL
name_max: u32
space at name (only when reading header)
comment: *mut u8
pointer to zero-terminated comment or NULL
comm_max: u32
space at comment (only when reading header)
hcrc: i32
true if there was or will be a header crc
done: i32
true when done reading gzip header (not used when writing a gzip file)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for gz_header
impl RefUnwindSafe for gz_header
impl !Send for gz_header
impl !Sync for gz_header
impl Unpin for gz_header
impl UnwindSafe for gz_header
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