Trait raknet::PacketHandler

source ·
pub trait PacketHandler {
    // Required method
    fn on_user_packet(
        &mut self,
        bytes: &[u8],
        conn: &mut RemoteSystem
    ) -> ControlFlow<()>;
}

Required Methods§

source

fn on_user_packet( &mut self, bytes: &[u8], conn: &mut RemoteSystem ) -> ControlFlow<()>

Implementors§