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