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
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".