[−][src]Trait gio::ZlibCompressorExt
Required methods
fn get_file_info(&self) -> Option<FileInfo>
fn set_file_info(&self, file_info: Option<&FileInfo>)
Sets file_info in self. If non-None, and self's
ZlibCompressor:format property is ZlibCompressorFormat::Gzip,
it will be used to set the file name and modification time in
the GZIP header of the compressed data.
Note: it is an error to call this function while a compression is in
progress; it may only be called immediately after creation of self,
or after resetting it with Converter::reset.
file_info
a FileInfo
fn get_property_format(&self) -> ZlibCompressorFormat
fn get_property_level(&self) -> i32
fn connect_property_file_info_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<ZlibCompressor>> ZlibCompressorExt for O[src]
fn get_file_info(&self) -> Option<FileInfo>[src]
fn set_file_info(&self, file_info: Option<&FileInfo>)[src]
fn get_property_format(&self) -> ZlibCompressorFormat[src]
fn get_property_level(&self) -> i32[src]
fn connect_property_file_info_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId