diff --git a/src/helpers/async_file_writer.rs b/src/helpers/async_file_writer.rs index 755cde72..53a61ceb 100644 --- a/src/helpers/async_file_writer.rs +++ b/src/helpers/async_file_writer.rs @@ -148,6 +148,11 @@ impl AsyncFileWriterInner { } } +/// AsyncFileWriter will pass the `Bytes` you give to another thread via +/// a `mpsc` and decompress and unpack it if needed. +/// +/// # Cancellation +/// /// AsyncFileWriter removes the file if `done` isn't called. #[derive(Debug)] pub struct AsyncFileWriter(ScopeGuard);