Trait cubic_protocol::version::PacketNode
source · [−]pub trait PacketNode: Sized {
fn read<'life0, 'async_trait>(
state: State,
input: &'life0 mut impl InputByteQueue
) -> Pin<Box<dyn Future<Output = Result<Self, ReadError>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait;
}