Trait naia_shared::PacketNotifiable
source · pub trait PacketNotifiable {
// Required method
fn notify_packet_delivered(&mut self, packet_index: PacketIndex);
}
Expand description
Represents a manager that must be notified when packets have been dropped or delivered
Required Methods§
sourcefn notify_packet_delivered(&mut self, packet_index: PacketIndex)
fn notify_packet_delivered(&mut self, packet_index: PacketIndex)
Notifies the manager that a packet has been delivered