#[non_exhaustive]pub struct LdpSession {
pub name: String,
pub authentication_algorithm: Option<String>,
pub has_authentication_key: bool,
pub authentication_key_chain: Option<String>,
pub downstream_on_demand: bool,
pub mtu_discovery: Option<bool>,
pub transport_address: Option<String>,
}Expand description
A session <address> or session-group <prefix> entry of LDP. The authentication-key is never extracted.
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: StringThe neighbor address, or the prefix of a session group.
authentication_algorithm: Option<String>§has_authentication_key: boolAn authentication-key is configured.
authentication_key_chain: Option<String>§downstream_on_demand: bool§mtu_discovery: Option<bool>Some(true) for mtu-discovery, Some(false) for no-mtu-discovery.
transport_address: Option<String>Trait Implementations§
Source§impl Clone for LdpSession
impl Clone for LdpSession
Source§impl Debug for LdpSession
impl Debug for LdpSession
impl Eq for LdpSession
Source§impl PartialEq for LdpSession
impl PartialEq for LdpSession
impl StructuralPartialEq for LdpSession
Auto Trait Implementations§
impl Forget for LdpSession
impl Freeze for LdpSession
impl Move for LdpSession
impl RefUnwindSafe for LdpSession
impl Send for LdpSessionwhere
RawVecInner: Send,
impl Sync for LdpSessionwhere
RawVecInner: Sync,
impl Unpin for LdpSession
impl UnsafeUnpin for LdpSession
impl UnwindSafe for LdpSessionwhere
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