[][src]Trait basin2_protocol::PacketContainer

pub trait PacketContainer {
    fn encode(self, buf: &mut BytesMut);
fn decode(id: i32, buf: &mut BytesMut) -> Result<Self>
    where
        Self: Sized
; }

Required methods

fn encode(self, buf: &mut BytesMut)

fn decode(id: i32, buf: &mut BytesMut) -> Result<Self> where
    Self: Sized

Loading content...

Implementors

impl PacketContainer for GameClientbound[src]

impl PacketContainer for GameServerbound[src]

impl PacketContainer for HandshakeClientbound[src]

impl PacketContainer for HandshakeServerbound[src]

impl PacketContainer for LoginClientbound[src]

impl PacketContainer for LoginServerbound[src]

impl PacketContainer for StatusClientbound[src]

impl PacketContainer for StatusServerbound[src]

Loading content...