#[non_exhaustive]pub struct PeerAutoDiscovery {
pub ipv6_nd: bool,
pub interfaces: Vec<String>,
pub disabled_interfaces: Vec<String>,
}Expand description
The peer-auto-discovery block of a dynamic-neighbor, used for BGP unnumbered.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ipv6_nd: boolfamily inet6 { ipv6-nd; }.
interfaces: Vec<String>Interfaces written interface <name>; or interface <name> { enable; }.
disabled_interfaces: Vec<String>Interfaces written interface <name> { disable; }.
Trait Implementations§
Source§impl Clone for PeerAutoDiscovery
impl Clone for PeerAutoDiscovery
Source§impl Debug for PeerAutoDiscovery
impl Debug for PeerAutoDiscovery
Source§impl Default for PeerAutoDiscovery
impl Default for PeerAutoDiscovery
impl Eq for PeerAutoDiscovery
Source§impl PartialEq for PeerAutoDiscovery
impl PartialEq for PeerAutoDiscovery
impl StructuralPartialEq for PeerAutoDiscovery
Auto Trait Implementations§
impl Forget for PeerAutoDiscovery
impl Freeze for PeerAutoDiscovery
impl Move for PeerAutoDiscovery
impl RefUnwindSafe for PeerAutoDiscovery
impl Send for PeerAutoDiscoverywhere
RawVecInner: Send,
impl Sync for PeerAutoDiscoverywhere
RawVecInner: Sync,
impl Unpin for PeerAutoDiscovery
impl UnsafeUnpin for PeerAutoDiscovery
impl UnwindSafe for PeerAutoDiscoverywhere
RawVecInner: UnwindSafe,
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