summaryrefslogtreecommitdiffstats
path: root/openpgp/src/serialize/stream/writer/writer_deflate.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/serialize/stream/writer/writer_deflate.rs')
-rw-r--r--openpgp/src/serialize/stream/writer/writer_deflate.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/openpgp/src/serialize/stream/writer/writer_deflate.rs b/openpgp/src/serialize/stream/writer/writer_deflate.rs
index 92226302..27b4bd6b 100644
--- a/openpgp/src/serialize/stream/writer/writer_deflate.rs
+++ b/openpgp/src/serialize/stream/writer/writer_deflate.rs
@@ -10,6 +10,7 @@ use super::{Generic, Message, BoxStack, Stackable, Cookie};
pub struct ZIP<'a, C: 'a> {
inner: Generic<DeflateEncoder<BoxStack<'a, C>>, C>,
}
+assert_send_and_sync!(ZIP<'_, C>, C);
impl<'a> ZIP<'a, Cookie> {
/// Makes a ZIP compressing writer.
@@ -78,6 +79,7 @@ impl<'a, C: 'a> Stackable<'a, C> for ZIP<'a, C> {
pub struct ZLIB<'a, C: 'a> {
inner: Generic<ZlibEncoder<BoxStack<'a, C>>, C>,
}
+assert_send_and_sync!(ZLIB<'_, C>, C);
impl<'a> ZLIB<'a, Cookie> {
/// Makes a ZLIB compressing writer.