Trait emmapack::PacketReadable
source · pub trait PacketReadable {
type ReadError;
// Required method
fn read_packet<D: PacketDeserializable + Send + Sync + 'static>(
&mut self,
) -> impl Future<Output = Result<D, Self::ReadError>>;
}Required Associated Types§
Required Methods§
fn read_packet<D: PacketDeserializable + Send + Sync + 'static>( &mut self, ) -> impl Future<Output = Result<D, Self::ReadError>>
Object Safety§
This trait is not object safe.