pub trait FileTypeExt {
// Required method
fn get_ext_with_compression(&self, c: FileCompressionType) -> Result<String>;
}
Expand description
Trait for extending the functionality of the FileType
enum.
Required Methods§
sourcefn get_ext_with_compression(&self, c: FileCompressionType) -> Result<String>
fn get_ext_with_compression(&self, c: FileCompressionType) -> Result<String>
Given a FileCompressionType
, return the FileType
’s extension with compression suffix