Skip to main content

RouterId

Type Alias RouterId 

Source
pub type RouterId = NodeIndex<u32>;
Expand description

Router Identification (and index into the graph)

Aliased Type§

pub struct RouterId(/* private fields */);

Trait Implementations§

Source§

impl<'n, P: Prefix, Q, Ospf: OspfImpl> NetworkFormatter<'n, P, Q, Ospf> for RouterId

Source§

fn fmt(&self, net: &'n Network<P, Q, Ospf>) -> String

Return a formatted string by looking up router IDs in the network.
Source§

fn fmt_multiline(&self, net: &'n Network<P, Q, Ospf>) -> String

Return a multiline struct that can be formatted and displayed. Read more
Source§

fn fmt_multiline_indent( &self, net: &'n Network<P, Q, Ospf>, _indent: usize, ) -> String

Return a multiline struct that can be formatted and displayed. Read more