aboutsummaryrefslogtreecommitdiffstats
path: root/src/messages.rs
diff options
context:
space:
mode:
authorDirk Van Haerenborgh <vhdirk@gmail.com>2018-04-13 17:19:17 +0200
committerDirk Van Haerenborgh <vhdirk@gmail.com>2018-04-13 17:19:17 +0200
commit52050a5e1dcd613915135e217439bc6293bea257 (patch)
tree34b34e173098065f448a0879fbec12f9933c139c /src/messages.rs
parent61d4a904cc60a07be4ca506eaa7ae2088a57aecf (diff)
downloadmail-52050a5e1dcd613915135e217439bc6293bea257.tar.gz
I think these are actually Send'able, but certainly no Sync
Diffstat (limited to 'src/messages.rs')
-rw-r--r--src/messages.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/messages.rs b/src/messages.rs
index 16cf741..94b823c 100644
--- a/src/messages.rs
+++ b/src/messages.rs
@@ -68,3 +68,5 @@ impl<'q, 'd> iter::Iterator for Messages<'q, 'd> {
Some(Self::Item::new(cmsg))
}
}
+
+unsafe impl<'q, 'd> Send for Messages<'q, 'd>{}