pub struct ParsedUpdate {
pub withdrawn: Vec<Ipv4NlriEntry>,
pub attributes: Vec<PathAttribute>,
pub announced: Vec<Ipv4NlriEntry>,
}Expand description
A fully parsed UPDATE message with decoded prefixes and attributes.
Uses Ipv4NlriEntry to carry Add-Path path IDs alongside each prefix.
For non-Add-Path peers, path_id is always 0.
Fields§
§withdrawn: Vec<Ipv4NlriEntry>Withdrawn IPv4 NLRI entries.
attributes: Vec<PathAttribute>Decoded path attributes.
announced: Vec<Ipv4NlriEntry>Announced IPv4 NLRI entries.
Trait Implementations§
Source§impl Clone for ParsedUpdate
impl Clone for ParsedUpdate
Source§fn clone(&self) -> ParsedUpdate
fn clone(&self) -> ParsedUpdate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParsedUpdate
impl Debug for ParsedUpdate
Source§impl PartialEq for ParsedUpdate
impl PartialEq for ParsedUpdate
impl Eq for ParsedUpdate
impl StructuralPartialEq for ParsedUpdate
Auto Trait Implementations§
impl Freeze for ParsedUpdate
impl RefUnwindSafe for ParsedUpdate
impl Send for ParsedUpdate
impl Sync for ParsedUpdate
impl Unpin for ParsedUpdate
impl UnsafeUnpin for ParsedUpdate
impl UnwindSafe for ParsedUpdate
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more