diff options
Diffstat (limited to 'src/protocol.rs')
-rw-r--r-- | src/protocol.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/protocol.rs b/src/protocol.rs index f8873a1..0b3e4c1 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -129,6 +129,7 @@ pub trait RawPacket<'a>: HasPacketId + Sized { pub trait Packet: HasPacketId + HasPacketBody + Sized {} +#[derive(Clone)] pub enum PacketErr { UnknownId(Id), DeserializeFailed(DeserializeErr), @@ -729,4 +730,4 @@ macro_rules! proto_byte_flag { } } } -}
\ No newline at end of file +} |