codec/packet: make it Send

This commit is contained in:
meh 2015-05-21 20:25:26 +02:00
parent 195d5dc9d4
commit 9666310abf

View File

@ -89,6 +89,8 @@ impl Packet {
}
}
unsafe impl Send for Packet { }
impl Clone for Packet {
fn clone(&self) -> Self {
let mut pkt = Packet::new();