#[non_exhaustive]pub struct LdpLinkProtection {
pub disable: bool,
pub dynamic_rsvp_lsp: bool,
}Expand description
link-protection { ... } of an LDP interface. A bare link-protection; leaves both flags unset.
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.disable: bool§dynamic_rsvp_lsp: boolTrait Implementations§
Source§impl Clone for LdpLinkProtection
impl Clone for LdpLinkProtection
Source§impl Debug for LdpLinkProtection
impl Debug for LdpLinkProtection
Source§impl Default for LdpLinkProtection
impl Default for LdpLinkProtection
impl Eq for LdpLinkProtection
Source§impl PartialEq for LdpLinkProtection
impl PartialEq for LdpLinkProtection
impl StructuralPartialEq for LdpLinkProtection
Auto Trait Implementations§
impl Forget for LdpLinkProtection
impl Freeze for LdpLinkProtection
impl Move for LdpLinkProtection
impl RefUnwindSafe for LdpLinkProtection
impl Send for LdpLinkProtection
impl Sync for LdpLinkProtection
impl Unpin for LdpLinkProtection
impl UnsafeUnpin for LdpLinkProtection
impl UnwindSafe for LdpLinkProtection
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