[−][src]Trait rust_openttd_admin::packet::admin::PacketRead
A trait that provides the read_packet
function
to a type implementing std::io::Read
.
Required methods
fn read_packet(&mut self) -> Result<(u8, Vec<u8>)>
Read a packet and return the packet type and data.