pub struct UpdateValidationOptions {
pub allow_ipv4_link_local_mp_reach_next_hop: bool,
}Expand description
Context-dependent UPDATE validation knobs.
Fields§
§allow_ipv4_link_local_mp_reach_next_hop: boolPermit an IPv6 link-local primary next-hop only for IPv4 unicast
MP_REACH_NLRI. This is intentionally opt-in: ordinary IPv6 next-hop
validation remains strict, and callers must have already established the
session scope/interface needed to resolve the link-local address.
Trait Implementations§
Source§impl Clone for UpdateValidationOptions
impl Clone for UpdateValidationOptions
Source§fn clone(&self) -> UpdateValidationOptions
fn clone(&self) -> UpdateValidationOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateValidationOptions
impl Debug for UpdateValidationOptions
Source§impl Default for UpdateValidationOptions
impl Default for UpdateValidationOptions
Source§fn default() -> UpdateValidationOptions
fn default() -> UpdateValidationOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateValidationOptions
impl PartialEq for UpdateValidationOptions
Source§fn eq(&self, other: &UpdateValidationOptions) -> bool
fn eq(&self, other: &UpdateValidationOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for UpdateValidationOptions
impl Eq for UpdateValidationOptions
impl StructuralPartialEq for UpdateValidationOptions
Auto Trait Implementations§
impl Freeze for UpdateValidationOptions
impl RefUnwindSafe for UpdateValidationOptions
impl Send for UpdateValidationOptions
impl Sync for UpdateValidationOptions
impl Unpin for UpdateValidationOptions
impl UnsafeUnpin for UpdateValidationOptions
impl UnwindSafe for UpdateValidationOptions
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