Trait cubic_protocol::packet::PacketReadable
source · [−]pub trait PacketReadable: Sized {
fn read<'life0, 'async_trait>(
input: &'life0 mut impl 'async_trait + InputPacketBytes
) -> Pin<Box<dyn Future<Output = PacketReadableResult<Self>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}