#[non_exhaustive]pub struct InterfaceRoutes {
pub rib_group: Option<String>,
pub families: Vec<InterfaceRoutesFamily>,
}Expand description
The interface-routes settings that control which interface routes are installed in which tables.
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.rib_group: Option<String>The rib-group argument as written, e.g. "MY-GROUP" or "inet MY-GROUP".
families: Vec<InterfaceRoutesFamily>Trait Implementations§
Source§impl Clone for InterfaceRoutes
impl Clone for InterfaceRoutes
Source§impl Debug for InterfaceRoutes
impl Debug for InterfaceRoutes
impl Eq for InterfaceRoutes
Source§impl PartialEq for InterfaceRoutes
impl PartialEq for InterfaceRoutes
impl StructuralPartialEq for InterfaceRoutes
Auto Trait Implementations§
impl Forget for InterfaceRoutes
impl Freeze for InterfaceRouteswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<InterfaceRoutesFamily>: Freeze,
impl Move for InterfaceRoutes
impl RefUnwindSafe for InterfaceRoutes
impl Send for InterfaceRouteswhere
RawVecInner: Send,
impl Sync for InterfaceRouteswhere
RawVecInner: Sync,
impl Unpin for InterfaceRoutes
impl UnsafeUnpin for InterfaceRouteswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<InterfaceRoutesFamily>: UnsafeUnpin,
impl UnwindSafe for InterfaceRouteswhere
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