panicbit / rust-av

Other
14 stars 1 forks source link

Merge CowPacket/RcPacket/RefPacket into one type #2

Closed panicbit closed 7 years ago

panicbit commented 7 years ago

Only a single type with the signature Packet<'a> would really be needed.

Conversion functions to go from Packet<'a> to Packet<'static> should be provided and are basically already implemented in the form of into_rc.