#[non_exhaustive]pub struct DynamicNeighbor {
pub name: String,
pub allow: Vec<String>,
pub peer_limit: Option<String>,
pub authentication_algorithm: Option<String>,
pub authentication_key_chain: Option<String>,
pub has_authentication_key: bool,
pub peer_auto_discovery: Option<PeerAutoDiscovery>,
}Expand description
A dynamic-neighbor <name> block of a group, which accepts sessions from any address in its allow prefixes.
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.name: String§allow: Vec<String>Prefixes written allow [ 10.0.0.0/8 ];, or all.
peer_limit: Option<String>§authentication_algorithm: Option<String>§authentication_key_chain: Option<String>The name of the key chain; the key is not extracted.
has_authentication_key: boolAn authentication-key is configured.
peer_auto_discovery: Option<PeerAutoDiscovery>Trait Implementations§
Source§impl Clone for DynamicNeighbor
impl Clone for DynamicNeighbor
Source§impl Debug for DynamicNeighbor
impl Debug for DynamicNeighbor
impl Eq for DynamicNeighbor
Source§impl PartialEq for DynamicNeighbor
impl PartialEq for DynamicNeighbor
impl StructuralPartialEq for DynamicNeighbor
Auto Trait Implementations§
impl Forget for DynamicNeighbor
impl Freeze for DynamicNeighbor
impl Move for DynamicNeighbor
impl RefUnwindSafe for DynamicNeighbor
impl Send for DynamicNeighborwhere
RawVecInner: Send,
impl Sync for DynamicNeighborwhere
RawVecInner: Sync,
impl Unpin for DynamicNeighbor
impl UnsafeUnpin for DynamicNeighborwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for DynamicNeighborwhere
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