pub struct UnarchivePreprocessor;Expand description
A preprocessor that extracts .tar.gz archives.
Implementations§
Trait Implementations§
Source§impl Default for UnarchivePreprocessor
impl Default for UnarchivePreprocessor
Source§impl Preprocessor for UnarchivePreprocessor
impl Preprocessor for UnarchivePreprocessor
Source§fn transform_type(&self) -> TransformType
fn transform_type(&self) -> TransformType
The safety model for this transformation.
Source§fn matches_extension(&self, filename: &str) -> bool
fn matches_extension(&self, filename: &str) -> bool
Whether this preprocessor handles a file with the given name.
Source§fn stripped_name(&self, filename: &str) -> String
fn stripped_name(&self, filename: &str) -> String
Strip the preprocessor extension to get the logical filename.
e.g.
"config.toml.tmpl" → "config.toml".Auto Trait Implementations§
impl Freeze for UnarchivePreprocessor
impl RefUnwindSafe for UnarchivePreprocessor
impl Send for UnarchivePreprocessor
impl Sync for UnarchivePreprocessor
impl Unpin for UnarchivePreprocessor
impl UnsafeUnpin for UnarchivePreprocessor
impl UnwindSafe for UnarchivePreprocessor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more