use crate::{codec::Codec, context::Context, transport::Result}; pub trait PacketReceiver: Send + Sync { fn recv>(&self, ctx: &Context) -> Result<(Uid, P)>; }