Trait ZipExt

Source
pub(super) trait ZipExt {
    // Required method
    async fn unpack_with_callback<P: AsRef<Path>>(
        &mut self,
        dst: P,
        cont: impl FnMut(&Path),
    ) -> Result<()>;
}
Available on crate feature zip only.

Required Methods§

Source

async fn unpack_with_callback<P: AsRef<Path>>( &mut self, dst: P, cont: impl FnMut(&Path), ) -> Result<()>

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.

Implementations on Foreign Types§

Source§

impl<R: AsyncRead + Unpin> ZipExt for Archive<R>

Source§

async fn unpack_with_callback<P: AsRef<Path>>( &mut self, dst: P, cont: impl FnMut(&Path), ) -> Result<()>

Implementors§