pub trait WithExtension {
// Required methods
fn with_extension(&self, extension: Extension) -> Self;
fn without_extension(&self) -> Self;
}Expand description
Trait to add/remove archive extensions from Suite and Codename
Required Methods§
Sourcefn with_extension(&self, extension: Extension) -> Self
fn with_extension(&self, extension: Extension) -> Self
Extend suite with an extension archive.
An existing extension will overriden and the method has no effect forunstable and experimental.
Sourcefn without_extension(&self) -> Self
fn without_extension(&self) -> Self
Remove an extension archive from the suite.
The method has no effect forunstable and experimental.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.