Trait naia_shared::ChannelReceiver
source · pub trait ChannelReceiver<P>: Send + Sync {
// Required method
fn receive_messages(
&mut self,
entity_waitlist: &mut EntityWaitlist,
converter: &dyn LocalEntityAndGlobalEntityConverter
) -> Vec<P>;
}
Required Methods§
sourcefn receive_messages(
&mut self,
entity_waitlist: &mut EntityWaitlist,
converter: &dyn LocalEntityAndGlobalEntityConverter
) -> Vec<P>
fn receive_messages( &mut self, entity_waitlist: &mut EntityWaitlist, converter: &dyn LocalEntityAndGlobalEntityConverter ) -> Vec<P>
Read messages from an internal buffer and return their content