pub enum Ipv4UnicastMode {
Body,
MpReach,
}Expand description
How IPv4 unicast NLRI should be encoded in an outbound UPDATE.
Variants§
Body
Encode IPv4 announcements/withdrawals in the legacy body NLRI fields.
MpReach
Encode IPv4 announcements/withdrawals in MP_REACH_NLRI /
MP_UNREACH_NLRI attributes instead of the body fields.
Trait Implementations§
Source§impl Clone for Ipv4UnicastMode
impl Clone for Ipv4UnicastMode
Source§fn clone(&self) -> Ipv4UnicastMode
fn clone(&self) -> Ipv4UnicastMode
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 Ipv4UnicastMode
impl Debug for Ipv4UnicastMode
Source§impl PartialEq for Ipv4UnicastMode
impl PartialEq for Ipv4UnicastMode
impl Copy for Ipv4UnicastMode
impl Eq for Ipv4UnicastMode
impl StructuralPartialEq for Ipv4UnicastMode
Auto Trait Implementations§
impl Freeze for Ipv4UnicastMode
impl RefUnwindSafe for Ipv4UnicastMode
impl Send for Ipv4UnicastMode
impl Sync for Ipv4UnicastMode
impl Unpin for Ipv4UnicastMode
impl UnsafeUnpin for Ipv4UnicastMode
impl UnwindSafe for Ipv4UnicastMode
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