Trait naia_shared::PacketNotifiable
source · [−]pub trait PacketNotifiable {
fn notify_packet_delivered(&mut self, packet_index: u16);
fn notify_packet_dropped(&mut self, packet_index: u16);
}Expand description
Represents a manager that must be notified when packets have been dropped or delivered
Required methods
fn notify_packet_delivered(&mut self, packet_index: u16)
fn notify_packet_delivered(&mut self, packet_index: u16)
Notifies the manager that a packet has been delivered
fn notify_packet_dropped(&mut self, packet_index: u16)
fn notify_packet_dropped(&mut self, packet_index: u16)
Notifies the manager that a packet has been dropped