codec/packet: make it Send
This commit is contained in:
parent
195d5dc9d4
commit
9666310abf
@ -89,6 +89,8 @@ impl Packet {
|
||||
}
|
||||
}
|
||||
|
||||
unsafe impl Send for Packet { }
|
||||
|
||||
impl Clone for Packet {
|
||||
fn clone(&self) -> Self {
|
||||
let mut pkt = Packet::new();
|
||||
|
Loading…
x
Reference in New Issue
Block a user