Struct caminos_lib::topology::NeighbourRouterIteratorItem [−][src]
pub struct NeighbourRouterIteratorItem {
pub port_index: usize,
pub link_class: usize,
pub neighbour_router: usize,
pub neighbour_port: usize,
}
Expand description
Item for iterators of neighbour routers.
Fields
port_index: usize
Port of the current router that goes to the neighbour.
link_class: usize
Link class of the link to the neighbour router.
neighbour_router: usize
The index of the neighbour router.
neighbour_port: usize
The port index of the neighbour router corresponding to the same physical link.