pub trait BanchoPacketRead<T> {
    fn read(reader: &mut PayloadReader<'_>) -> Option<T>;
}
Expand description

Can use PayloadReader to read data from type T which implements this trait.

Required Methods§

Implementations on Foreign Types§

Implementors§