pub struct Decompressor { /* private fields */ }
Expand description
Decompression utility struct
Implementations§
Source§impl Decompressor
impl Decompressor
pub fn new(format: CompressionFormat) -> Self
pub fn auto_detect<P: AsRef<Path>>(path: P) -> Self
Auto Trait Implementations§
impl Freeze for Decompressor
impl RefUnwindSafe for Decompressor
impl Send for Decompressor
impl Sync for Decompressor
impl Unpin for Decompressor
impl UnwindSafe for Decompressor
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