Struct libflate::gzip::Header
[−]
[src]
pub struct Header { /* fields omitted */ }
GZIP Header.
Methods
impl Header
[src]
fn modification_time(&self) -> u32
Returns the modification time (UNIX timestamp).
fn compression_level(&self) -> CompressionLevel
Returns the compression level.
fn os(&self) -> Os
Returns the OS type.
fn is_text(&self) -> bool
Returns true
if the stream is probably ASCII text, false
otherwise.
fn is_verified(&self) -> bool
Returns true
if the header bytes is verified by CRC-16, false
otherwise.
fn extra_field(&self) -> Option<&ExtraField>
Returns the extra field.
fn filename(&self) -> Option<&CString>
Returns the file name.
fn comment(&self) -> Option<&CString>
Returns the comment.
Trait Implementations
impl Debug for Header
[src]
impl Clone for Header
[src]
fn clone(&self) -> Header
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more