pub type RouterEvent = Event;Expand description
An alias for a router event, to clearly separate it from other events in the
simulator. Code external to the router should probably prefer this
RouterEvent to the Event syntax for clarity.
Aliased Type§
pub enum RouterEvent {
PacketArrival(PacketRc),
DeviceInterrupt(Ipv4Addr),
Wakeup,
}