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.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.