Trait packetrs_impl::packetrs_read::PacketrsRead
source · [−]pub trait PacketrsRead<Ctx>: Sized {
fn read(buf: &mut BitCursor, ctx: Ctx) -> PacketRsResult<Self>;
}
Expand description
This trait is what will be derived for a struct, and can be used to implement custom read logic for types