Expand description
This module handles converting MRT records into individual per-prefix BGP elements.
Each MRT record may contain reachability information for multiple prefixes. This module breaks down MRT records into corresponding BGP elements, and thus allowing users to more conveniently process BGP information on a per-prefix basis.
Structs§
- BgpUpdate
Elem Iter - Iterator over
BgpElems produced from aBgpUpdateMessage, avoiding allocation by lazily yielding elements from announced and withdrawn prefixes in two phases. - Elementor
Enums§
- Elem
Error - Error returned by
Elementor::record_to_elems_iter. - Record
Elem Iter - Iterator over
BgpElems produced from a singleMrtRecord, without requiring a mutable reference to theElementor.