pub trait Dispatcher: Sync + Send {
// Required method
fn try_dispatch(&self, packet: &ScionPacketView);
}Expand description
The dispatcher trait is used to dispatch SCION packets to the appropriate handlers within the SNAP (and pocketscion) data plane.
Required Methods§
Sourcefn try_dispatch(&self, packet: &ScionPacketView)
fn try_dispatch(&self, packet: &ScionPacketView)
Try to dispatch the given SCION packet.