#[non_exhaustive]pub struct EvpnInterface {
pub name: String,
pub ignore_encapsulation_mismatch: bool,
pub interface_mac_limit: Option<EvpnMacLimit>,
pub mac_pinning: bool,
pub no_mac_learning: bool,
pub static_macs: Vec<String>,
}Expand description
An interface <name> entry of EVPN.
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§ignore_encapsulation_mismatch: bool§interface_mac_limit: Option<EvpnMacLimit>§mac_pinning: bool§no_mac_learning: bool§static_macs: Vec<String>Trait Implementations§
Source§impl Clone for EvpnInterface
impl Clone for EvpnInterface
Source§impl Debug for EvpnInterface
impl Debug for EvpnInterface
impl Eq for EvpnInterface
Source§impl PartialEq for EvpnInterface
impl PartialEq for EvpnInterface
impl StructuralPartialEq for EvpnInterface
Auto Trait Implementations§
impl Forget for EvpnInterface
impl Freeze for EvpnInterface
impl Move for EvpnInterface
impl RefUnwindSafe for EvpnInterface
impl Send for EvpnInterfacewhere
RawVecInner: Send,
impl Sync for EvpnInterfacewhere
RawVecInner: Sync,
impl Unpin for EvpnInterface
impl UnsafeUnpin for EvpnInterfacewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for EvpnInterfacewhere
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