#[non_exhaustive]pub struct LdpInterface {
pub name: String,
pub disable: bool,
pub hello_interval: Option<String>,
pub hold_time: Option<String>,
pub transport_address: Option<String>,
pub allow_subnet_mismatch: bool,
pub link_protection: Option<LdpLinkProtection>,
}Expand description
An interface <name> entry of LDP; the name can be all.
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§disable: bool§hello_interval: Option<String>Seconds.
hold_time: Option<String>Seconds.
transport_address: Option<String>interface or loopback.
allow_subnet_mismatch: bool§link_protection: Option<LdpLinkProtection>Trait Implementations§
Source§impl Clone for LdpInterface
impl Clone for LdpInterface
Source§impl Debug for LdpInterface
impl Debug for LdpInterface
impl Eq for LdpInterface
Source§impl PartialEq for LdpInterface
impl PartialEq for LdpInterface
impl StructuralPartialEq for LdpInterface
Auto Trait Implementations§
impl Forget for LdpInterface
impl Freeze for LdpInterface
impl Move for LdpInterface
impl RefUnwindSafe for LdpInterface
impl Send for LdpInterfacewhere
RawVecInner: Send,
impl Sync for LdpInterfacewhere
RawVecInner: Sync,
impl Unpin for LdpInterface
impl UnsafeUnpin for LdpInterface
impl UnwindSafe for LdpInterfacewhere
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