Skip to main content

Dispatcher

Trait Dispatcher 

Source
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§

Source

fn try_dispatch(&self, packet: &ScionPacketView)

Try to dispatch the given SCION packet.

Implementors§